Revert "[clang-tidy] For `run-clang-tidy.py` escape the paths that are used for analy...
authorNathan James <n.james93@hotmail.co.uk>
Thu, 2 Jul 2020 07:54:55 +0000 (08:54 +0100)
committerNathan James <n.james93@hotmail.co.uk>
Thu, 2 Jul 2020 07:54:55 +0000 (08:54 +0100)
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

index 2b5e78b..4272ae0 100755 (executable)
@@ -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