Skip to content

clazy: Suppressing warnings

Monday, 25 April 2016  |  sergio.martins

Clazy [1][2] just got support for suppressing warnings by reading a special comment in your code. The syntax is similar to what krazy has.

Ignore the whole file: // clazy:skip

Ignore the whole file for these checks: // clazy:excludeall=foreach,qstring-allocations

Ignore these checks at the line number where the comment appears: (...) // clazy:exclude=qfileinfo-exists,copyable-polymorphic


[1] [2]