[clang] [clang-tools-extra] [clang-tidy] Avoid matching nodes in system headers (PR #151035)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 28 14:51:37 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 match AST nodes from system headers
+  by default, greatly improving performance. This behavior is disabled if the
----------------
5chmidti wrote:

`AST nodes` might be too much of a compiler term. `no longer attempts to analyze code from system headers` might be better?

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


More information about the cfe-commits mailing list