[clang-tools-extra] [run-clang-tidy.py] Add -directory-filter option to run-clang-tidy.py (PR #89302)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 19 07:37:27 PDT 2024


================
@@ -514,7 +523,7 @@ def main():
 
         # Fill the queue with files.
         for name in files:
-            if file_name_re.search(name):
+            if file_name_re.search(name) and not directory_filters_re.search(name):
----------------
PiotrZSL wrote:

to be honest those lines should be handled like current filtering in line 491

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


More information about the cfe-commits mailing list