[clang-tools-extra] [clang-tidy] Support LineFilter in .clang-tidy configuration files (PR #202575)
Peiqi Li via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 28 05:28:25 PDT 2026
voyager-jhk wrote:
> It might be better to support `HeaderFilterRegex`/`ExcludeHeaderFilterRegex` in clangd, rather than adding `LineFilter` into the clang-tidy configuration and then having to add additional support for `LineFilter` in clangd anyway.
I'm not sure `ExcludeHeaderFilterRegex` would address the case in #59263, as the relevant diagnostics are reported at macro expansions in the user's test file and are therefore treated as main-file diagnostics rather than header diagnostics.
https://github.com/llvm/llvm-project/pull/202575
More information about the cfe-commits
mailing list