[clang-tools-extra] [clang-tidy] Header check support for check_clang_tidy.py (PR #175735)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 6 08:10:12 PST 2026


================
@@ -1,8 +1,7 @@
-// RUN: rm -rf %t
-// RUN: mkdir %t
-// RUN: cp %S/Inputs/unnecessary-value-param/header.h %t/header.h
-// RUN: %check_clang_tidy %s performance-unnecessary-value-param %t/temp -- -- -I %t
-// RUN: diff %t/header.h %S/Inputs/unnecessary-value-param/header-fixed.h
+// RUN: %check_clang_tidy -check-header %S/Inputs/unnecessary-value-param/header.h \
+// RUN:   %s performance-unnecessary-value-param %t -- \
+// RUN:   -header-filter='.*' \
----------------
vbvictor wrote:

same -header-filter

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


More information about the cfe-commits mailing list