llvm-project/clang/test/Format/line-ranges.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
262 B
C++
Raw Normal View History

// 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;