[PATCH] D108560: [clang-tidy] Add support for NOLINTBEGIN ... NOLINTEND comments to suppress clang-tidy warnings over multiple lines

Salman Javed via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 12 20:37:54 PDT 2021


salman-javed-nz added a comment.

In D108560#2989295 <https://reviews.llvm.org/D108560#2989295>, @aaron.ballman wrote:

> Is this syntax used by any other tools?

It seems Google have implemented `NOLINTBEGIN` and `NOLINTEND` support in cpplint. I see lines such as `// NOLINTBEGIN(whitespace/line_length)`, `// NOLINTBEGIN(readability/check)`, `// NOLINTBEGIN(build/include)` scattered across different Google projects on GitHub.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108560/new/

https://reviews.llvm.org/D108560



More information about the cfe-commits mailing list