(delimiter = 'GEN')
| 16 | // The original parses cleanly; #1505 is preParse corrupting its short delimiter, |
| 17 | // distinct from the vendored grammar's 16-character delimiter error (#1522). |
| 18 | function scaffoldSource(delimiter = 'GEN'): string { |
| 19 | return `#include <string> |
| 20 | |
| 21 | namespace { |
| 22 | const char* kTpl = R"${delimiter}( |
| 23 | DECLARE_THING( |
| 24 | struct Ignored { int v; }; |
| 25 | int nested_fn() { return 1; } |
| 26 | )${delimiter}"; |
| 27 | } |
| 28 | |
| 29 | int create_scaffold(int x) { |
| 30 | return x; |
| 31 | } |
| 32 | |
| 33 | int helper_after(int y) { |
| 34 | return y + 1; |
| 35 | } |
| 36 | `; |
| 37 | } |
| 38 | |
| 39 | const annotationBlankers = [ |
| 40 | { name: 'line-leading annotations', blank: blankCppAnnotationMacroCalls }, |
no outgoing calls
no test coverage detected