justincady wrote:

@codectile `--exclude-header-filter` is used in conjunction with 
`--header-filter` to exclude certain headers from analysis. Check out the tests 
that were modified as a part of this PR for more examples, but the basic idea 
is:

```
$ clang-tidy --header-filter='.*' --exclude-header-filter='header1\.h' [...]
```

In that example all headers will be analyzed using the enabled checks _except_ 
`header1.h`.

https://github.com/llvm/llvm-project/pull/91400
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to