[PATCH] D34654: Allow passing a regex for headers to exclude from clang-tidy
Elvis Stansvik via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 22 02:38:24 PDT 2020
estan added a comment.
It would be great to get something like this in.
In our project we're currently using a kludge of overriding the `RULE_LAUNCH_COMPILE` CMake variable to insert our own shell script as the compiler. The script strips the clang-tidy invocation inserted by CMake if the source path matches any of a set of regexes we have in a .clang-tidy-exclude file.
The original suggested solution with an exclude regex would be sufficient for us, but the source-centric approach described by @alexfh would also work. Just something would be good.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D34654/new/
https://reviews.llvm.org/D34654
More information about the cfe-commits
mailing list