| 1139 | } |
| 1140 | |
| 1141 | static const char *class_method_tail(const char *qn) { |
| 1142 | if (!qn) { |
| 1143 | return NULL; |
| 1144 | } |
| 1145 | const char *last = strrchr(qn, '.'); |
| 1146 | if (!last || last == qn) { |
| 1147 | return NULL; |
| 1148 | } |
| 1149 | const char *second = last; |
| 1150 | while (second > qn) { |
| 1151 | second--; |
| 1152 | if (*second == '.') { |
| 1153 | return second == qn ? qn : second + 1; |
| 1154 | } |
| 1155 | } |
| 1156 | return qn; |
| 1157 | } |
| 1158 | |
| 1159 | static const cbm_gbuf_node_t *find_unique_callable_node_by_tail(const cbm_gbuf_t *gbuf, |
| 1160 | const char *tail) { |
no outgoing calls
no test coverage detected