Directive `id` of a step, for the query. With `rec`, it is noted when it * gives the query anything at all: one that leaves an empty step empty adds * no candidate and sets no flag whatever the step holds, so leaving it out * changes no lookup. */
| 4633 | * no candidate and sets no flag whatever the step holds, so leaving it out |
| 4634 | * changes no lookup. */ |
| 4635 | static void using_visit(const cs_ctx_t *c, const cs_using_t *us, int id, const cs_query_t *q, |
| 4636 | bool a_type_name, cs_found_t *fd, cs_active_rec_t *rec) { |
| 4637 | if (rec) { |
| 4638 | cs_found_t probe = {0}; |
| 4639 | level_using(c, &us[id], q, a_type_name, &probe); |
| 4640 | if (probe.n == 0 && !probe.invisible && !probe.joined && probe.why == CS_WHY_SCOPE) { |
| 4641 | return; |
| 4642 | } |
| 4643 | active_add(rec, id); |
| 4644 | } |
| 4645 | level_using(c, &us[id], q, a_type_name, fd); |
| 4646 | } |
| 4647 | |
| 4648 | /* False when none of a step's n directives can give the query anything: |
| 4649 | * there are none, or the index shows no static candidates and no namespace |
no test coverage detected