| 2304 | } rs_defref_t; |
| 2305 | |
| 2306 | static int rs_defref_cmp(const void *a, const void *b) { |
| 2307 | const rs_defref_t *x = (const rs_defref_t *)a; |
| 2308 | const rs_defref_t *y = (const rs_defref_t *)b; |
| 2309 | int c = rs_defqn_cmp_ctx(x->def, y->def); |
| 2310 | return c ? c : (x->idx > y->idx) - (x->idx < y->idx); |
| 2311 | } |
| 2312 | |
| 2313 | /* Index the file's definitions: by (line, name) for the items the scan meets, |
| 2314 | * and which definition of every qualified name owns the node. */ |
nothing calls this directly
no test coverage detected