Skip to content

Commit cc79e1d

Browse files
committed
style(pipeline): clang-format the dotted-base resolution
Whitespace only; the token stream is unchanged. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent 51a3e4e commit cc79e1d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/pipeline/pass_lsp_cross.c‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@ static const char *pxc_python_dotted_base_qn(const pxc_base_scope_t *bs, const c
264264
const char *local = imp->local_name;
265265
const char *path = imp->module_path;
266266
if (!local || !path || strlen(local) != root_len || strncmp(raw, local, root_len) != 0 ||
267-
strncmp(path, local, root_len) != 0 || (path[root_len] != '\0' && path[root_len] != '.')) {
267+
strncmp(path, local, root_len) != 0 ||
268+
(path[root_len] != '\0' && path[root_len] != '.')) {
268269
continue; /* not a root binding of this base's first segment */
269270
}
270271
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
288289
}
289290
}
290291
if (!node) {
291-
node = pxc_type_node(cbm_pipeline_lsp_target_node(bs->gbuf, bs->project_name, raw, false));
292+
node =
293+
pxc_type_node(cbm_pipeline_lsp_target_node(bs->gbuf, bs->project_name, raw, false));
292294
}
293295
if (node) {
294296
return node->qualified_name;

0 commit comments

Comments
 (0)