carlosgalvezp added a comment.
In D116163#3206473 <https://reviews.llvm.org/D116163#3206473>, @reyg wrote:
> I actually couldn't find a way to black-list specific checks. Is there a way
> to do that?
Just prepend a dash to the check name that you want to disable:
`checks=cppcoreguidelines-*,-cppcoreguidelines-pro-type-pointer-arithmetic`
This will enable all checks from `cppcoreguidelines` except
`cppcoreguidelines-pro-type-pointer-arithmetic`.
Normally you do this with pretty formatting in the `.clang-tidy` file:
Checks: >
cppcoreguidelines*,
-cppcoreguidelines-pro-type-pointer-arithmetic,
-cppcoreguidelines-avoid-c-arrays,
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116163/new/
https://reviews.llvm.org/D116163
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits