Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

style(pipeline): clang-format the dotted-base resolution

Martin Vogelcc79e1d63fe0
diff --git a/src/pipeline/pass_lsp_cross.c b/src/pipeline/pass_lsp_cross.c
index bc48d75ae..9ad97bee8 100644
--- a/src/pipeline/pass_lsp_cross.c
+++ b/src/pipeline/pass_lsp_cross.c
@@ -264,7 +264,8 @@ static const char *pxc_python_dotted_base_qn(const pxc_base_scope_t *bs, const c
const char *local = imp->local_name;
const char *path = imp->module_path;
if (!local || !path || strlen(local) != root_len || strncmp(raw, local, root_len) != 0 ||
- strncmp(path, local, root_len) != 0 || (path[root_len] != '\0' && path[root_len] != '.')) {
+ strncmp(path, local, root_len) != 0 ||
+ (path[root_len] != '\0' && path[root_len] != '.')) {
continue; /* not a root binding of this base's first segment */
}
size_t path_len = strlen(path);
@@ -288,7 +289,8 @@ static const char *pxc_python_dotted_base_qn(const pxc_base_scope_t *bs, const c
}
}
if (!node) {
- node = pxc_type_node(cbm_pipeline_lsp_target_node(bs->gbuf, bs->project_name, raw, false));
+ node =
+ pxc_type_node(cbm_pipeline_lsp_target_node(bs->gbuf, bs->project_name, raw, false));
}
if (node) {
return node->qualified_name;