| 2524 | } |
| 2525 | |
| 2526 | static bool rs_has_node(const rs_index_t *ix, rs_ent_t e) { |
| 2527 | if (e.kind == RS_E_ITEM) { |
| 2528 | return ix->items[e.idx].label != 0; |
| 2529 | } |
| 2530 | return e.kind == RS_E_MEMBER && ix->members[e.idx].label != 0; |
| 2531 | } |
| 2532 | |
| 2533 | /* The graph keeps one node per qualified name, so of two cfg twins the one |
| 2534 | * that owns the node stands for both. Two with a node each stay two. */ |