| 2281 | } |
| 2282 | |
| 2283 | static int bind_cmp(const void *a, const void *b) { |
| 2284 | const cs_bind_t *x = (const cs_bind_t *)a; |
| 2285 | const cs_bind_t *y = (const cs_bind_t *)b; |
| 2286 | if (x->cls != y->cls) { |
| 2287 | return x->cls < y->cls ? -1 : 1; |
| 2288 | } |
| 2289 | if (x->file != y->file) { |
| 2290 | return x->file < y->file ? -1 : 1; |
| 2291 | } |
| 2292 | return (x->type > y->type) - (x->type < y->type); |
| 2293 | } |
| 2294 | |
| 2295 | /* Every entity's declarations by (class, path). */ |
| 2296 | static bool build_binds(cs_index_t *ix) { |
nothing calls this directly
no outgoing calls
no test coverage detected