[Interest] Individual static analysis warning suppression in Qt Creator

Nikolai Kosjar Nikolai.Kosjar at qt.io
Tue Feb 5 08:34:05 CET 2019


On 2/4/19 10:37 PM, Bernhard Lindner wrote:
> Hi!
> 
> 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?

This is https://bugreports.qt.io/browse/QTCREATORBUG-20201

Nikolai


More information about the Interest mailing list