[PATCH] D30607: Replace re module by regex module in run-clang-tidy script

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 5 02:04:15 PST 2017


alexfh added a comment.

Actually, I'm not sure why we need groups in that regex. We can instead try replacing `re.compile('(' + ')|('.join(args.files) + ')')` with `re.compile('|'.join(args.files))`.


https://reviews.llvm.org/D30607





More information about the cfe-commits mailing list