[clang-tools-extra] Add option to exclude headers from clang-tidy analysis (PR #91400)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 4 12:38:53 PDT 2025


carlosgalvezp wrote:

>  It seems to be running on my .h files itself(?)

In that case, I don't believe clang-tidy considers the header "a header", but actually "the main file" just like when analyzing a .cpp file. In that case, `ExcludeHeaderFilterRegex` won't work.

https://github.com/llvm/llvm-project/pull/91400


More information about the cfe-commits mailing list