• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: clang-format -output-replacements-xml -sort-includes %s \
2 // RUN:   | FileCheck -strict-whitespace %s
3 
4 // CHECK: <?xml
5 // CHECK-NEXT: {{<replacements.*incomplete_format='false'}}
6 // CHECK-NEXT: {{<replacement.*#include &lt;a>&#10;#include &lt;b><}}
7 // CHECK-NEXT: {{<replacement.*>&#10;<}}
8 // CHECK-NEXT: {{<replacement.*> <}}
9 #include <b>
10 #include <a>
11 
12 int a;int*b;
13