https://bugs.kde.org/show_bug.cgi?id=353767

--- Comment #2 from Sergio Martins <smart...@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 watching all bug changes.

Reply via email to