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>
This commit is contained in:
xkchok
2026-09-01 15:52:10 +08:00
parent 8f50841af4
commit 4d20a42755
+2 -2
View File
@@ -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;
}