[clazy] [Bug 391212] New: Allow hiding bugs in pre-installed Qt (add path-based filter)
Holger Schurig
bugzilla_noreply at kde.org
Wed Feb 28 08:33:12 GMT 2018
https://bugs.kde.org/show_bug.cgi?id=391212
Bug ID: 391212
Summary: Allow hiding bugs in pre-installed Qt (add path-based
filter)
Product: clazy
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: holgerschurig at gmail.com
CC: smartins at kde.org
Target Milestone: ---
I'm on Debian Stable and started to use clazy. Great tool, veeery nice.
Being on stable, I don't change the installed Qt 5.7.1+dfsg-3+b1 away to
anything else.
But when I run clazy, it shows me issues in files that I don't want to change,
e.g. this:
In file included from config at exe/moc_dialog_waitwlan.cpp:9:
In file included from config at exe/../../dialog_waitwlan.h:6:
In file included from config at exe/ui_form_waitwlan.h:14:
In file included from /usr/include/i386-linux-gnu/qt5/QtWidgets/QApplication:1:
In file included from
/usr/include/i386-linux-gnu/qt5/QtWidgets/qapplication.h:51:
In file included from
/usr/include/i386-linux-gnu/qt5/QtGui/qguiapplication.h:45:
/usr/include/i386-linux-gnu/qt5/QtGui/qinputmethod.h:106:5: warning: slot
arguments need to be fully-qualified (QInputMethod::Action instead of Action)
[-Wclazy-fully-qualified-moc-types]
void invokeAction(Action a, int cursorPosition);
I get lots of those issues, and of course they clutter the display. It's now
difficult to see spots on my own code because of this. Of course I could
disable the test "fully-qualified-moc-types". But then this test would also be
disabled for my own checks.
What would help is to have a file-based filter, so that I can tell clazy
"ignore anything below /usr/include/".
(This happened both with clazy from git master of today and from tag v1.3)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list