[clazy] [Bug 353767] Support for a supression file
Sergio Martins via KDE Bugzilla
bugzilla_noreply at kde.org
Thu Apr 14 16:22:26 BST 2016
https://bugs.kde.org/show_bug.cgi?id=353767
--- Comment #2 from Sergio Martins <smartins at kde.org> ---
(In reply to Richard from comment #1)
> It would be possible to work with clazy warnings like ordinary compiler
> warnings?
> E.g. have them disabled locally with
>
> #pragma clang diagnostic push
> #pragma clang diagnostic ignored "-Wclazy-somecheck"
> //some offending code
> #pragma clang diagnostic pop
>
> Also this would allow to treat some of the clazy warnings as errors and some
> still as warnings.
Good idea but I couldn't find a way to implement this. There's no way for a
plugin to register warnings that #pragma would understand
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list