[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Format / xmloutput.cpp
blob525810143f9b898547faae58f74c508b801f1e5d
1 // RUN: clang-format -style=LLVM -output-replacements-xml -sort-includes %s \
2 // RUN: | FileCheck -strict-whitespace %s
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>
12 int a;int*b;