https://bugs.kde.org/show_bug.cgi?id=375239
Bug ID: 375239 Summary: connect-non-signal false positive when using macros to declare signals Product: clazy Version: unspecified Platform: MacPorts Packages OS: OS X Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: nicolas.kniebih...@dualo.org CC: smart...@kde.org Target Milestone: --- connect-non-signal returns "MyClass::mySignal is not a signal" when we have something like this: #define DECLARE_SIGNAL(name) \ Q_SIGNALS: \ void name(); class MyClass { Q_OBJECT public: explicit MyClass(QObject *parent = 0); DECLARE_SIGNAL(mySignal) public slots: void mySlot(); } MyClass::MyClass(QObject *parent) : QObject(parent) { connect(this, &MyClass::mySignal, this, &MyClass::mySlot); } Detected on commit: 230c4a8299e1dfd7a505cbba681d4ba1c688c353 -- You are receiving this mail because: You are watching all bug changes.