mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-03 08:03:38 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user