[libcxx-commits] [libcxx] df38ae1 - [libc++] Fix the clang-tidy source filter to cover libcxx/src again (#213732)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 4 05:56:19 PDT 2026


Author: Louis Dionne
Date: 2026-08-04T08:56:15-04:00
New Revision: df38ae1f5d3636eeb9938134c895509e32187a47

URL: https://github.com/llvm/llvm-project/commit/df38ae1f5d3636eeb9938134c895509e32187a47
DIFF: https://github.com/llvm/llvm-project/commit/df38ae1f5d3636eeb9938134c895509e32187a47.diff

LOG: [libc++] Fix the clang-tidy source filter to cover libcxx/src again (#213732)

The filter regex used `libcxx(abi?)`, which matches `libcxxab` and
`libcxxabi`, but never just `libcxx`.

Added: 
    

Modified: 
    libcxx/test/libcxx/clang_tidy.sh.py

Removed: 
    


################################################################################
diff  --git a/libcxx/test/libcxx/clang_tidy.sh.py b/libcxx/test/libcxx/clang_tidy.sh.py
index 7d270d199fbd9..33c0b334c4b8d 100644
--- a/libcxx/test/libcxx/clang_tidy.sh.py
+++ b/libcxx/test/libcxx/clang_tidy.sh.py
@@ -11,6 +11,6 @@
 # RUN: %{python} %{libcxx-dir}/../clang-tools-extra/clang-tidy/tool/run-clang-tidy.py   \
 # RUN:      -clang-tidy-binary %{clang-tidy}                                            \
 # RUN:      -warnings-as-errors "*"                                                     \
-# RUN:      -source-filter=".*libcxx(abi?)/src.*"                                       \
+# RUN:      -source-filter=".*libcxx(abi)?/src.*"                                       \
 # RUN:      -quiet -p %{bin-dir}/..                                                     \
-# RUN:      -header-filter=".*libcxx(abi?)/src.*"
+# RUN:      -header-filter=".*libcxx(abi)?/src.*"


        


More information about the libcxx-commits mailing list