[llvm] [UTC] Indent switch cases (PR #165212)

Kunqiu Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 27 05:24:52 PDT 2025


================
@@ -606,6 +606,7 @@ def invoke_tool(exe, cmd_args, ir, preprocess_cmd=None, verbose=False):
 DEBUG_ONLY_ARG_RE = re.compile(r"-debug-only[= ]([^ ]+)")
 
 IS_DEBUG_RECORD_RE = re.compile(r"^(\s+)#dbg_")
+IS_SWITCH_CASE_RE = re.compile(r"^\s+i\d{1,2} \d+, label %\w+")
----------------
Camsyn wrote:

Fixed.

https://github.com/llvm/llvm-project/pull/165212


More information about the llvm-commits mailing list