blob: d3c5254fc3146451693c108b8c56441368a0be8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// RUN: clang-format -output-replacements-xml -sort-includes %s > %t.xml
// RUN: FileCheck -strict-whitespace -input-file=%t.xml %s
// CHECK: <?xml
// CHECK-NEXT: {{<replacements.*incomplete_format='false'}}
// CHECK-NEXT: {{<replacement.*#include <a> #include <b><}}
// CHECK-NEXT: {{<replacement.*> <}}
// CHECK-NEXT: {{<replacement.*> <}}
#include <b>
#include <a>
int a;int*b;
|