annotate clang/test/Format/xmloutput.cpp @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: clang-format -style=LLVM -output-replacements-xml -sort-includes %s \
anatofuz
parents:
diff changeset
2 // RUN: | FileCheck -strict-whitespace %s
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 // CHECK: <?xml
anatofuz
parents:
diff changeset
5 // CHECK-NEXT: {{<replacements.*incomplete_format='false'}}
anatofuz
parents:
diff changeset
6 // CHECK-NEXT: {{<replacement.*#include &lt;a>&#10;#include &lt;b><}}
anatofuz
parents:
diff changeset
7 // CHECK-NEXT: {{<replacement.*>&#10;<}}
anatofuz
parents:
diff changeset
8 // CHECK-NEXT: {{<replacement.*> <}}
anatofuz
parents:
diff changeset
9 #include <b>
anatofuz
parents:
diff changeset
10 #include <a>
anatofuz
parents:
diff changeset
11
anatofuz
parents:
diff changeset
12 int a;int*b;