From 4d20a427551fc689a4cbfb9f4e36af17f6bc2047 Mon Sep 17 00:00:00 2001 From: xkchok <143325001+xkchok@users.noreply.github.com> Date: Sun, 30 Aug 2026 22:44:52 +0800 Subject: [PATCH] style: clang-format the pxc_fold_go_struct_fields signature The manual wrap disagreed with clang-format's packing heuristic: with two parameters still fitting under the 100-column limit, the formatter packs them onto the first line rather than breaking after the first argument. Fix the wrap so the PR cleanly passes the ci lint gate. Signed-off-by: xkchok <143325001+xkchok@users.noreply.github.com> --- src/pipeline/pass_lsp_cross.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pipeline/pass_lsp_cross.c b/src/pipeline/pass_lsp_cross.c index 78896449d..704a73d41 100644 --- a/src/pipeline/pass_lsp_cross.c +++ b/src/pipeline/pass_lsp_cross.c @@ -423,8 +423,8 @@ static int pxc_build_lsp_def(CBMArena *arena, const CBMDefinition *src, const ch * so scanning the file's own defs covers every case. Runs inside * cbm_pxc_collect_all_defs — one site covers both the prebuilt-registry path * and the per-file fallback, since both consume all_defs. */ -static void pxc_fold_go_struct_fields(CBMArena *arena, const CBMFileResult *result, - CBMLSPDef *defs, int start, int end) { +static void pxc_fold_go_struct_fields(CBMArena *arena, const CBMFileResult *result, CBMLSPDef *defs, + int start, int end) { if (!arena || !result || !defs || start >= end) { return; }