llvm-for-llvmta/tools/clang/test/Format/line-ranges.cpp

12 lines
262 B
C++
Raw Normal View History

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