Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
Qt Creator 4.7.0-rc1
-
None
-
4.7.0 snapshot from Jul 6
Description
I wasn't able to get NOLINT comments to work at all. Either these or NOLINTNEXTLINE.
Now clang-tidy add diagnostics in real time which is amazing. It's also able to emit clang and clang-analyzer warnings which is even more amazing!
However, warnings added in realtime ignore the NOLINT and NOLINTNEXTLINE comments. For instance,
operator t() const { return get(); } // NOLINT
Same happens with NOLINTNEXTLINE or putting NOLINT in various places. Perhaps the comment is stripped for realtime analysis?
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-20201 Add support for the //NOLINT comment to have clang-tidy ignore that line
- Closed