Skip to content

Commit 81548d2

Browse files
committed
style: fix two pre-existing clang-format violations for release lint
The Kotlin destructuring call (extract_calls.c, commit 15e541b) and the Dart signature-sibling while-loop (extract_unified.c, commit e01e77f) carried clang-format violations that failed the dry-run lint gate. Reformat just those two statements (per-region, LLVM-22 = clang-format-20 canonical) so lint-format is clean. No behavior change. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent 002b643 commit 81548d2

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎internal/cbm/extract_calls.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,8 +1824,7 @@ static void extract_kotlin_desugared_calls(CBMExtractCtx *ctx, TSNode node, cons
18241824
continue;
18251825
}
18261826
comp++;
1827-
kt_push_implicit_call(ctx, node,
1828-
cbm_arena_sprintf(ctx->arena, "component%u", comp),
1827+
kt_push_implicit_call(ctx, node, cbm_arena_sprintf(ctx->arena, "component%u", comp),
18291828
enclosing_func_qn);
18301829
}
18311830
break;

‎internal/cbm/extract_unified.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,8 +1153,7 @@ static void push_boundary_scopes(CBMExtractCtx *ctx, TSNode node, const CBMLangS
11531153
* Push the function scope at the BODY using the preceding signature
11541154
* sibling's QN, so the body's children attribute to the function. */
11551155
TSNode prev = ts_node_prev_sibling(node);
1156-
while (!ts_node_is_null(prev) &&
1157-
strcmp(ts_node_type(prev), "function_signature") != 0 &&
1156+
while (!ts_node_is_null(prev) && strcmp(ts_node_type(prev), "function_signature") != 0 &&
11581157
strcmp(ts_node_type(prev), "method_signature") != 0) {
11591158
prev = ts_node_prev_sibling(prev);
11601159
}

0 commit comments

Comments
 (0)