Skip to content

Commit 7edb9e2

Browse files
committed
Address the review comment
1 parent 3cd491a commit 7edb9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/UpdateTestChecks/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ def invoke_tool(exe, cmd_args, ir, preprocess_cmd=None, verbose=False):
606606
DEBUG_ONLY_ARG_RE = re.compile(r"-debug-only[= ]([^ ]+)")
607607

608608
IS_DEBUG_RECORD_RE = re.compile(r"^(\s+)#dbg_")
609-
IS_SWITCH_CASE_RE = re.compile(r"^\s+i\d{1,2} \d+, label %\w+")
609+
IS_SWITCH_CASE_RE = re.compile(r"^\s+i\d+ \d+, label %\w+")
610610

611611
SCRUB_LEADING_WHITESPACE_RE = re.compile(r"^(\s+)")
612612
SCRUB_WHITESPACE_RE = re.compile(r"(?!^(| \w))[ \t]+", flags=re.M)

0 commit comments

Comments
 (0)