[clang-tidy] Don't use groups in the big regexy filter

Fixes https://bugs.llvm.org/show_bug.cgi?id=27641.

llvm-svn: 298619
This commit is contained in:
Alexander Kornienko 2017-03-23 16:29:39 +00:00
parent 315cd1fec9
commit eaada5c91e
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ def main():
tmpdir = tempfile.mkdtemp()
# Build up a big regexy filter from all command line arguments.
file_name_re = re.compile('(' + ')|('.join(args.files) + ')')
file_name_re = re.compile('|'.join(args.files))
try:
# Spin up a bunch of tidy-launching threads.