The node at `qn` in file `path`, or NULL. */
| 582 | |
| 583 | /* The node at `qn` in file `path`, or NULL. */ |
| 584 | static const cbm_gbuf_node_t *pr_node(const pr_ctx_t *c, const char *qn, const char *path) { |
| 585 | const cbm_gbuf_node_t *n = cbm_gbuf_find_by_qn(c->g, qn); |
| 586 | if (!n || !n->label || !n->file_path || strcmp(n->file_path, path) != 0) { |
| 587 | return NULL; |
| 588 | } |
| 589 | return n; |
| 590 | } |
| 591 | |
| 592 | /* A declared type's own node: a gap when the graph folded it or has none. */ |
| 593 | static pr_res_t pr_type_node(const pr_ctx_t *c, int ti) { |
no test coverage detected