An open scope: a using in view names a namespace or type the repository * does not declare, or the project's global usings could not be evaluated. * A name found nowhere may come from there. */
| 5105 | * does not declare, or the project's global usings could not be evaluated. |
| 5106 | * A name found nowhere may come from there. */ |
| 5107 | static bool scope_open(const cs_ctx_t *c) { |
| 5108 | if (c->unit >= 0 && c->ix->units[c->unit].open) { |
| 5109 | return true; |
| 5110 | } |
| 5111 | return c->f->regions[c->region].open; |
| 5112 | } |
| 5113 | |
| 5114 | /* Why a simple name was found at no scope level. */ |
| 5115 | static cs_res_t simple_unfound(const cs_ctx_t *c) { |