[clang-tools-extra] d3bf1f3 - Revert "[clang-tidy] For `run-clang-tidy.py` escape the paths that are used for analysis."
Nathan James via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 2 00:55:56 PDT 2020
Author: Nathan James
Date: 2020-07-02T08:54:55+01:00
New Revision: d3bf1f3af2f26a7c100c3aa6b8ae93feb7034cb8
URL: https://github.com/llvm/llvm-project/commit/d3bf1f3af2f26a7c100c3aa6b8ae93feb7034cb8
DIFF: https://github.com/llvm/llvm-project/commit/d3bf1f3af2f26a7c100c3aa6b8ae93feb7034cb8.diff
LOG: 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
Added:
Modified:
clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Removed:
################################################################################
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 2b5e78b38f01..4272ae0957fe 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
More information about the cfe-commits
mailing list