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-b...@kde.org
          Reporter: smart...@kde.org
                CC: smart...@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 watching all bug changes.

Reply via email to