This revision was not accepted when it landed; it landed in state "Needs
Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG068fa3574663: [clang-tidy] For `run-clang-tidy.py` escape
the paths that are used for… (authored by Andi-Bogdan Postelnicu
<[email protected]>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81917/new/
https://reviews.llvm.org/D81917
Files:
clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Index: clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
===================================================================
--- clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
+++ clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
@@ -277,6 +277,7 @@
tmpdir = tempfile.mkdtemp()
# Build up a big regexy filter from all command line arguments.
+ args.files = [re.escape(f) for f in args.files]
file_name_re = re.compile('|'.join(args.files))
return_code = 0
Index: clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
===================================================================
--- clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
+++ clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
@@ -277,6 +277,7 @@
tmpdir = tempfile.mkdtemp()
# Build up a big regexy filter from all command line arguments.
+ args.files = [re.escape(f) for f in args.files]
file_name_re = re.compile('|'.join(args.files))
return_code = 0
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits