llvm-for-llvmta/tools/clang/test/Format/adjust-indent.cpp

11 lines
220 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -lines=2:2 \
// RUN: | FileCheck -strict-whitespace %s
void f() {
// CHECK: void f() {
int i;
// CHECK: {{^ int\ i;}}
int j;
// CHECK: {{^ int\ j;}}
}