[clazy] [Bug 377134] New: Class method wrongly tagged as Qt signal if defined after class declaration with Q_SIGNALS as last section
Friedrich W. H. Kossebau
bugzilla_noreply at kde.org
Fri Mar 3 00:28:31 GMT 2017
https://bugs.kde.org/show_bug.cgi?id=377134
Bug ID: 377134
Summary: Class method wrongly tagged as Qt signal if defined
after class declaration with Q_SIGNALS as last section
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: kossebau at kde.org
CC: smartins at kde.org
Target Milestone: ---
Created attachment 104331
--> https://bugs.kde.org/attachment.cgi?id=104331&action=edit
Diff to tests/incorrect-emit/main.cpp to reproduce the bug
In Okteta I get some wrong "warning: Missing emit keyword on signal call" on
calls of some methods defined separately as inline methods right after the
class declaration in the header.
I could reduce the problem to the code attached as patch, as a new test case
for tests/incorrect-emit.
Seems that somehow the code location comparison in
AccessSpecifierManager::qtAccessSpecifierType(...) does not work as intended,
but I am too tired to research this more tonight, so just dumping the current
state and hoping for the expert to quickly find the mistake :)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list