Skip to content

Commit 345867b

Browse files
committed
style(ci): clang-format vb_branch_types initializer
clang-format-20 requires the opening brace on its own line when the array initializer spans multiple lines; the previous column-aligned style triggered [-Wclang-format-violations]. Auto-corrected with clang-format; verified lint-ci passes locally. Signed-off-by: Ankit Susheel <ankitsusheel@gmail.com>
1 parent c476341 commit 345867b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

internal/cbm/lang_specs.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,9 @@ static const char *vb_class_types[] = {"class_block", "module_block", "struc
397397
static const char *vb_module_types[] = {"source_file", NULL};
398398
static const char *vb_call_types[] = {"invocation", "new_expression", NULL};
399399
static const char *vb_import_types[] = {"imports_statement", NULL};
400-
static const char *vb_branch_types[] = {"if_statement", "for_statement",
401-
"for_each_statement", "while_statement",
402-
"do_statement", "select_case_statement",
403-
"try_statement", NULL};
400+
static const char *vb_branch_types[] = {
401+
"if_statement", "for_statement", "for_each_statement", "while_statement",
402+
"do_statement", "select_case_statement", "try_statement", NULL};
404403
static const char *vb_var_types[] = {"field_declaration", "dim_statement", "const_declaration",
405404
NULL};
406405
static const char *vb_field_types[] = {"field_declaration", "property_declaration", NULL};

0 commit comments

Comments
 (0)