Clang Project

clang_source_code/test/Format/ranges.cpp
1// RUN: grep -Ev "// *[A-Z-]+:" %s \
2// RUN:   | clang-format -style=LLVM -offset=2 -length=0 -offset=28 -length=0 \
3// RUN:   | FileCheck -strict-whitespace %s
4// CHECK: {{^int\ \*i;$}}
5int*i;
6
7// CHECK: {{^int\ \ \*\ \ i;$}}
8int  *  i; 
9
10// CHECK: {{^int\ \*i;$}}
11int   *   i;
12