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

Sylvestre Ledru via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 4 06:22:16 PST 2017


sylvestre.ledru created this revision.
Herald added a subscriber: JDevlieghere.

Avoid limitation of 100 groups for regular expressions
Patch by Manuel Grizonnet

reported here:
https://github.com/llvm-mirror/clang-tools-extra/pull/9


https://reviews.llvm.org/D30607

Files:
  clang-tidy/tool/run-clang-tidy.py


Index: clang-tidy/tool/run-clang-tidy.py
===================================================================
--- clang-tidy/tool/run-clang-tidy.py
+++ clang-tidy/tool/run-clang-tidy.py
@@ -39,7 +39,7 @@
 import multiprocessing
 import os
 import Queue
-import re
+import regex as re
 import shutil
 import subprocess
 import sys


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30607.90577.patch
Type: text/x-patch
Size: 329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170304/1358fc75/attachment-0001.bin>


More information about the cfe-commits mailing list