[clazy] [Bug 367906] New: New: warn on emit on non-signal

Sergio Martins via KDE Bugzilla bugzilla_noreply at kde.org
Sun Aug 28 00:03:05 BST 2016


https://bugs.kde.org/show_bug.cgi?id=367906

            Bug ID: 367906
           Summary: New: warn on emit on non-signal
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: smartins at kde.org
                CC: smartins at kde.org

emit thisIsNotASignal(); // This should warn

Not trivial to implement, emit is a macro which expands to nothing.
This has to be done at the lexer level I guess, or catching the macro, reading
the name of the signal and waiting for the AST Node with the method declaration
to be visited

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list