From d3bf1f3af2f26a7c100c3aa6b8ae93feb7034cb8 Mon Sep 17 00:00:00 2001 From: Nathan James Date: Thu, 2 Jul 2020 08:54:55 +0100 Subject: [PATCH] Revert "[clang-tidy] For `run-clang-tidy.py` escape the paths that are used for analysis." This reverts commit 068fa35746637fde29355a43d17d554a92b32cdf. Based on a regression reported in https://bugs.llvm.org/show_bug.cgi?id=46536 --- clang-tools-extra/clang-tidy/tool/run-clang-tidy.py | 1 - 1 file changed, 1 deletion(-) diff --git a/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py b/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py index 2b5e78b..4272ae0 100755 --- a/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py +++ b/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py @@ -277,7 +277,6 @@ def main(): 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 -- 2.7.4