| 320 | } |
| 321 | |
| 322 | static int count_expanded_lines(const std::string &text) { |
| 323 | int count = 1; |
| 324 | for (char c : text) { |
| 325 | if (c == '\n') { |
| 326 | count++; |
| 327 | } |
| 328 | } |
| 329 | return count; |
| 330 | } |
| 331 | |
| 332 | static bool parse_line_directive(const char *line, size_t len, uint32_t *out_line, |
| 333 | std::string *out_file) { |
no outgoing calls
no test coverage detected