True when the result holds a using of this kind (n namespace, s static, * a alias) and target. */
| 1240 | /* True when the result holds a using of this kind (n namespace, s static, |
| 1241 | * a alias) and target. */ |
| 1242 | static bool dm_has_using(const cbm_msb_result_t *r, char kind, const char *target) { |
| 1243 | for (int i = 0; i < r->count; i++) { |
| 1244 | if (r->usings[i].kind == kind && strcmp(r->usings[i].target, target) == 0) { |
| 1245 | return true; |
| 1246 | } |
| 1247 | } |
| 1248 | return false; |
| 1249 | } |
| 1250 | |
| 1251 | /* Repeated expansion must not retain every superseded value or condition |
| 1252 | * operand. Measure real evaluation arena capacity, not a wall-clock sample. */ |