[PATCH] D72378: [clang-tidy] Add `bugprone-reserved-identifier`

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 25 08:55:38 PST 2020


aaron.ballman added a comment.

In D72378#1840353 <https://reviews.llvm.org/D72378#1840353>, @lebedev.ri wrote:

> So, i'm seeing an issue here:
>  https://godbolt.org/z/KM2qLa
>
> I can't `NOLINT` it, because it is defined not in the source file, but in compile line.
>  And i can't whitelist it since there is no whitelist..
>
> PTAL.


Doesn't the `AllowedIdentifiers` option work for you?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72378





More information about the cfe-commits mailing list