[Interest] Individual static analysis warning suppression in Qt Creator

Bernhard Lindner private at bernhard-lindner.de
Mon Feb 4 22:37:33 CET 2019


I tried to suppress individual clang-tidy warnings resulting from clang-tidy static
analysis runs in Qt Creator.

I added // NOLINT and // NOLINTNEXTLINE comments to my code (both variants, with and
without a specific list of checks, like described here: 
http://clang.llvm.org/extra/clang-tidy/#suppressing-undesired-diagnostics) for a few
warnings of different warning types but the comments have no effect.

Has someone used those kind of suppression comments successfully in Qt Creator? Are they
supposed to work?

Best Regards, 
Bernhard Lindner

More information about the Interest mailing list