From 4a372093e7c231e369b6fde69031f0feb2c83ecb Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Wed, 30 Oct 2019 09:17:29 +0000 Subject: [PATCH] [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 --- llvm/utils/update_cc_test_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/update_cc_test_checks.py b/llvm/utils/update_cc_test_checks.py index ee8f641c3cab..82959e53b36c 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': [],