| 1540 | } |
| 1541 | |
| 1542 | static const char *path_leaf(const char *path) { |
| 1543 | const char *leaf = path; |
| 1544 | for (const char *p = path; p && *p; p++) { |
| 1545 | if (*p == '/' || *p == '\\') { |
| 1546 | leaf = p + 1; |
| 1547 | } |
| 1548 | } |
| 1549 | return leaf; |
| 1550 | } |
| 1551 | |
| 1552 | static bool is_header_include(const char *path) { |
| 1553 | if (!path || !path[0]) { |
no outgoing calls
no test coverage detected