| 4671 | } |
| 4672 | |
| 4673 | static CBMUsage make_reference_usage(const char *caller, const char *name, uint32_t start, |
| 4674 | uint32_t end) { |
| 4675 | CBMUsage usage = {0}; |
| 4676 | usage.enclosing_func_qn = caller; |
| 4677 | usage.ref_name = name; |
| 4678 | usage.kind = CBM_USAGE_CALL_REFERENCE; |
| 4679 | usage.site_start_byte = start; |
| 4680 | usage.site_end_byte = end; |
| 4681 | return usage; |
| 4682 | } |
| 4683 | |
| 4684 | static CBMResolvedCall make_reference_rc(const char *caller, const char *callee, float confidence, |
| 4685 | uint32_t start, uint32_t end) { |