[clang] [clang-tools-extra] [clang-tidy] Avoid matching nodes in system headers (PR #151035)
Gábor Horváth via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 3 08:20:54 PDT 2025
================
@@ -105,6 +105,10 @@ Improvements to clang-tidy
now run checks in parallel by default using all available hardware threads.
Both scripts display the number of threads being used in their output.
+- :program:`clang-tidy` no longer attemps to analyze code from system headers
+ by default, greatly improving performance. This behavior is disabled if the
+ `SystemHeaders` option is enabled.
----------------
Xazax-hun wrote:
Oh, never mind. I missed that this was an existing option.
https://github.com/llvm/llvm-project/pull/151035
More information about the cfe-commits
mailing list