summaryrefslogtreecommitdiffstats
path: root/llvm/utils/update_cc_test_checks.py
diff options
context:
space:
mode:
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2019-10-30 09:17:29 +0000
committerAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>2019-10-30 09:28:51 +0000
commit4a372093e7c231e369b6fde69031f0feb2c83ecb (patch)
treed465c6ce97a7e3e480dd8b60cbaba174a33a28a6 /llvm/utils/update_cc_test_checks.py
parent760ed8da98e3c4cd80e92bbdcc78c181f36f71d4 (diff)
downloadbcm5719-llvm-4a372093e7c231e369b6fde69031f0feb2c83ecb.tar.gz
bcm5719-llvm-4a372093e7c231e369b6fde69031f0feb2c83ecb.zip
[update_cc_test_checks.py] Fix invalid python string escape sequence
This works with current python version but will be an error with 3.9
Diffstat (limited to 'llvm/utils/update_cc_test_checks.py')
-rwxr-xr-xllvm/utils/update_cc_test_checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/update_cc_test_checks.py b/llvm/utils/update_cc_test_checks.py
index ee8f641c3ca..82959e53b36 100755
--- a/llvm/utils/update_cc_test_checks.py
+++ b/llvm/utils/update_cc_test_checks.py
@@ -29,7 +29,7 @@ from UpdateTestChecks import asm, common
ADVERT = '// NOTE: Assertions have been autogenerated by '
CHECK_RE = re.compile(r'^\s*//\s*([^:]+?)(?:-NEXT|-NOT|-DAG|-LABEL)?:')
-RUN_LINE_RE = re.compile('^//\s*RUN:\s*(.*)$')
+RUN_LINE_RE = re.compile(r'^//\s*RUN:\s*(.*)$')
SUBST = {
'%clang': [],
OpenPOWER on IntegriCloud