1 | // RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -cursor=0 \ |
---|---|
2 | // RUN: | FileCheck -strict-whitespace %s |
3 | // CHECK: {{"IncompleteFormat": true, "Line": 2}} |
4 | // CHECK: {{^int\ \i;$}} |
5 | int i; |
6 | // CHECK: {{^f \( g \(;$}} |
7 | f ( g (; |
8 |
1 | // RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -cursor=0 \ |
---|---|
2 | // RUN: | FileCheck -strict-whitespace %s |
3 | // CHECK: {{"IncompleteFormat": true, "Line": 2}} |
4 | // CHECK: {{^int\ \i;$}} |
5 | int i; |
6 | // CHECK: {{^f \( g \(;$}} |
7 | f ( g (; |
8 |