forked from OSchip/llvm-project
[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:
parent
315cd1fec9
commit
eaada5c91e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue