[llvm] r292056 - Update update_test_checks so that . is a valid identifier character in addition to _
Daniel Berlin via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 14 23:40:46 PST 2017
Author: dannyb
Date: Sun Jan 15 01:40:46 2017
New Revision: 292056
URL: http://llvm.org/viewvc/llvm-project?rev=292056&view=rev
Log:
Update update_test_checks so that . is a valid identifier character in addition to _
Modified:
llvm/trunk/utils/update_test_checks.py
Modified: llvm/trunk/utils/update_test_checks.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/update_test_checks.py?rev=292056&r1=292055&r2=292056&view=diff
==============================================================================
--- llvm/trunk/utils/update_test_checks.py (original)
+++ llvm/trunk/utils/update_test_checks.py Sun Jan 15 01:40:46 2017
@@ -70,7 +70,7 @@ CHECK_PREFIX_RE = re.compile('--?check-p
CHECK_RE = re.compile(r'^\s*;\s*([^:]+?)(?:-NEXT|-NOT|-DAG|-LABEL)?:')
# Match things that look at identifiers, but only if they are followed by
# spaces, commas, paren, or end of the string
-IR_VALUE_RE = re.compile(r'(\s+)%(\w+?)([,\s\(\)]|\Z)')
+IR_VALUE_RE = re.compile(r'(\s+)%([\w\.]+?)([,\s\(\)]|\Z)')
# Invoke the tool that is being tested.
More information about the llvm-commits
mailing list