4 // This file contains UTF-8 sequences. Please don't "fix" them!
6 // Check that we serialize comment source locations properly.
7 // RUN: %clang_cc1 -x c++ -std=c++11 -emit-pch -o %t/out.pch %s
8 // RUN: %clang_cc1 -x c++ -std=c++11 -include-pch %t/out.pch -fsyntax-only %s
10 // RUN: c-index-test -write-pch %t/out.pch -x c++ -std=c++11 %s
11 // RUN: c-index-test -test-load-source all -comments-xml-schema=%S/../../bindings/xml/comment-xml-schema.rng %s -std=c++11 > %t/out.c-index-direct
12 // RUN: c-index-test -test-load-tu %t/out.pch all > %t/out.c-index-pch
14 // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-direct
15 // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-pch
17 // Ensure that XML is not invalid
18 // WRONG-NOT: CommentXMLInvalid
20 // RUN: FileCheck %s < %t/out.c-index-direct
21 // RUN: FileCheck %s < %t/out.c-index-pch
30 // Tests for \brief and its aliases.
34 void test_cmd_brief_like_1();
36 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_1:{{.*}} BriefComment=[Aaa.] FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_brief_like_1</Name><USR>c:@F@test_cmd_brief_like_1#</USR><Declaration>void test_cmd_brief_like_1()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
37 // CHECK-NEXT: CommentAST=[
38 // CHECK-NEXT: (CXComment_FullComment
39 // CHECK-NEXT: (CXComment_Paragraph
40 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.])))]
43 void test_cmd_brief_like_2();
45 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_2:{{.*}} BriefComment=[Aaa.] FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_brief_like_2</Name><USR>c:@F@test_cmd_brief_like_2#</USR><Declaration>void test_cmd_brief_like_2()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
46 // CHECK-NEXT: CommentAST=[
47 // CHECK-NEXT: (CXComment_FullComment
48 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
49 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
50 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
51 // CHECK-NEXT: (CXComment_Paragraph
52 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
55 void test_cmd_brief_like_3();
57 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_3:{{.*}} BriefComment=[Aaa.] FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_brief_like_3</Name><USR>c:@F@test_cmd_brief_like_3#</USR><Declaration>void test_cmd_brief_like_3()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
58 // CHECK-NEXT: CommentAST=[
59 // CHECK-NEXT: (CXComment_FullComment
60 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
61 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
62 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[short]
63 // CHECK-NEXT: (CXComment_Paragraph
64 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
69 void test_cmd_brief_like_4();
71 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_4:{{.*}} BriefComment=[Bbb.] FullCommentAsHTML=[<p class="para-brief"> Bbb.</p><p> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_brief_like_4</Name><USR>c:@F@test_cmd_brief_like_4#</USR><Declaration>void test_cmd_brief_like_4()</Declaration><Abstract><Para> Bbb.</Para></Abstract><Discussion><Para> Aaa.</Para></Discussion></Function>]
72 // CHECK-NEXT: CommentAST=[
73 // CHECK-NEXT: (CXComment_FullComment
74 // CHECK-NEXT: (CXComment_Paragraph
75 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
76 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
77 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
78 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
79 // CHECK-NEXT: (CXComment_Paragraph
80 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
87 void test_cmd_brief_like_5();
89 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_5:{{.*}} BriefComment=[Bbb.] FullCommentAsHTML=[<p class="para-brief"> Bbb.</p><p> Aaa.</p><p> Ccc.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_brief_like_5</Name><USR>c:@F@test_cmd_brief_like_5#</USR><Declaration>void test_cmd_brief_like_5()</Declaration><Abstract><Para> Bbb.</Para></Abstract><Discussion><Para> Aaa.</Para><Para> Ccc.</Para></Discussion></Function>]
90 // CHECK-NEXT: CommentAST=[
91 // CHECK-NEXT: (CXComment_FullComment
92 // CHECK-NEXT: (CXComment_Paragraph
93 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
94 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
95 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
96 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
97 // CHECK-NEXT: (CXComment_Paragraph
98 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.])))
99 // CHECK-NEXT: (CXComment_Paragraph
100 // CHECK-NEXT: (CXComment_Text Text=[ Ccc.])))]
104 void test_cmd_brief_like_6();
106 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_6:{{.*}} BriefComment=[Bbb.] FullCommentAsHTML=[<p class="para-brief"> Aaa. </p><p class="para-brief"> Bbb.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_brief_like_6</Name><USR>c:@F@test_cmd_brief_like_6#</USR><Declaration>void test_cmd_brief_like_6()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Discussion><Para> Bbb.</Para></Discussion></Function>]
107 // CHECK-NEXT: CommentAST=[
108 // CHECK-NEXT: (CXComment_FullComment
109 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
110 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
111 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
112 // CHECK-NEXT: (CXComment_Paragraph
113 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
114 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
115 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
116 // CHECK-NEXT: (CXComment_Paragraph
117 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
122 void test_cmd_brief_like_7();
124 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_7:{{.*}} BriefComment=[Aaa.] FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><p> Bbb.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_brief_like_7</Name><USR>c:@F@test_cmd_brief_like_7#</USR><Declaration>void test_cmd_brief_like_7()</Declaration><Abstract><Para> Aaa.</Para></Abstract><Discussion><Para> Bbb.</Para></Discussion></Function>]
125 // CHECK-NEXT: CommentAST=[
126 // CHECK-NEXT: (CXComment_FullComment
127 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
128 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
129 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[abstract]
130 // CHECK-NEXT: (CXComment_Paragraph
131 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.])))
132 // CHECK-NEXT: (CXComment_Paragraph
133 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.])))]
136 // Tests for \returns and its aliases.
142 void test_cmd_returns_like_1();
144 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_returns_like_1:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Bbb.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_returns_like_1</Name><USR>c:@F@test_cmd_returns_like_1#</USR><Declaration>void test_cmd_returns_like_1()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Bbb.</Para></ResultDiscussion></Function>]
146 // CHECK-NEXT: CommentAST=[
147 // CHECK-NEXT: (CXComment_FullComment
148 // CHECK-NEXT: (CXComment_Paragraph
149 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
150 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
151 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
152 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[return]
153 // CHECK-NEXT: (CXComment_Paragraph
154 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
159 void test_cmd_returns_like_2();
161 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_returns_like_2:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Bbb.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_returns_like_2</Name><USR>c:@F@test_cmd_returns_like_2#</USR><Declaration>void test_cmd_returns_like_2()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Bbb.</Para></ResultDiscussion></Function>]
162 // CHECK-NEXT: CommentAST=[
163 // CHECK-NEXT: (CXComment_FullComment
164 // CHECK-NEXT: (CXComment_Paragraph
165 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
166 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
167 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
168 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns]
169 // CHECK-NEXT: (CXComment_Paragraph
170 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
175 void test_cmd_returns_like_3();
177 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_returns_like_3:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Bbb.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_returns_like_3</Name><USR>c:@F@test_cmd_returns_like_3#</USR><Declaration>void test_cmd_returns_like_3()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Bbb.</Para></ResultDiscussion></Function>]
178 // CHECK-NEXT: CommentAST=[
179 // CHECK-NEXT: (CXComment_FullComment
180 // CHECK-NEXT: (CXComment_Paragraph
181 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
182 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
183 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
184 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[result]
185 // CHECK-NEXT: (CXComment_Paragraph
186 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
190 void test_cmd_returns_like_4();
192 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_returns_like_4:{{.*}} FullCommentAsHTML=[<div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Aaa. </p><p class="para-returns"><span class="word-returns">Returns</span> Bbb.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_returns_like_4</Name><USR>c:@F@test_cmd_returns_like_4#</USR><Declaration>void test_cmd_returns_like_4()</Declaration><ResultDiscussion><Para> Aaa. </Para><Para> Bbb.</Para></ResultDiscussion></Function>]
193 // CHECK-NEXT: CommentAST=[
194 // CHECK-NEXT: (CXComment_FullComment
195 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
196 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
197 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns]
198 // CHECK-NEXT: (CXComment_Paragraph
199 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
200 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
201 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns]
202 // CHECK-NEXT: (CXComment_Paragraph
203 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
210 void test_cmd_returns_like_5();
212 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_returns_like_5:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><p> Bbb.</p><div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Ccc.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_returns_like_5</Name><USR>c:@F@test_cmd_returns_like_5#</USR><Declaration>void test_cmd_returns_like_5()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Ccc.</Para></ResultDiscussion><Discussion><Para> Bbb.</Para></Discussion></Function>]
213 // CHECK-NEXT: CommentAST=[
214 // CHECK-NEXT: (CXComment_FullComment
215 // CHECK-NEXT: (CXComment_Paragraph
216 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
217 // CHECK-NEXT: (CXComment_Paragraph
218 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))
219 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
220 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
221 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns]
222 // CHECK-NEXT: (CXComment_Paragraph
223 // CHECK-NEXT: (CXComment_Text Text=[ Ccc.]))))]
230 void test_cmd_param_1(int x1
);
232 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_1:{{.*}} FullCommentAsHTML=[] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_param_1</Name><USR>c:@F@test_cmd_param_1#I#</USR><Declaration>void test_cmd_param_1(int x1)</Declaration></Function>]
233 // CHECK-NEXT: CommentAST=[
234 // CHECK-NEXT: (CXComment_FullComment
235 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
236 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
237 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[] ParamIndex=Invalid
238 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace)))]
241 void test_cmd_param_2(int x1
);
243 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_2:{{.*}} FullCommentAsHTML=[<dl><dt class="param-name-index-0">x1</dt><dd class="param-descr-index-0"> Aaa.</dd></dl>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_param_2</Name><USR>c:@F@test_cmd_param_2#I#</USR><Declaration>void test_cmd_param_2(int x1)</Declaration><Parameters><Parameter><Name>x1</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa.</Para></Discussion></Parameter></Parameters></Function>]
244 // CHECK-NEXT: CommentAST=[
245 // CHECK-NEXT: (CXComment_FullComment
246 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
247 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
248 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
249 // CHECK-NEXT: (CXComment_Paragraph
250 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
253 void test_cmd_param_3(int x1
);
255 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_3:{{.*}} FullCommentAsHTML=[<dl><dt class="param-name-index-invalid">zzz</dt><dd class="param-descr-index-invalid"> Aaa.</dd></dl>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_param_3</Name><USR>c:@F@test_cmd_param_3#I#</USR><Declaration>void test_cmd_param_3(int x1)</Declaration><Parameters><Parameter><Name>zzz</Name><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa.</Para></Discussion></Parameter></Parameters></Function>]
256 // CHECK-NEXT: CommentAST=[
257 // CHECK-NEXT: (CXComment_FullComment
258 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
259 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
260 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[zzz] ParamIndex=Invalid
261 // CHECK-NEXT: (CXComment_Paragraph
262 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
266 void test_cmd_param_4(int x1
, int x2
);
268 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_4:{{.*}} FullCommentAsHTML=[<dl><dt class="param-name-index-0">x1</dt><dd class="param-descr-index-0"> Aaa.</dd><dt class="param-name-index-1">x2</dt><dd class="param-descr-index-1"> Bbb. </dd></dl>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_param_4</Name><USR>c:@F@test_cmd_param_4#I#I#</USR><Declaration>void test_cmd_param_4(int x1, int x2)</Declaration><Parameters><Parameter><Name>x1</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa.</Para></Discussion></Parameter><Parameter><Name>x2</Name><Index>1</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Bbb. </Para></Discussion></Parameter></Parameters></Function>]
269 // CHECK-NEXT: CommentAST=[
270 // CHECK-NEXT: (CXComment_FullComment
271 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
272 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
273 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
274 // CHECK-NEXT: (CXComment_Paragraph
275 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
276 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
277 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
278 // CHECK-NEXT: (CXComment_Paragraph
279 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
284 void test_cmd_param_5(int x1
, int x2
);
286 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_5:{{.*}} FullCommentAsHTML=[<dl><dt class="param-name-index-0">x1</dt><dd class="param-descr-index-0"> Aaa.</dd><dt class="param-name-index-1">x2</dt><dd class="param-descr-index-1"> Bbb. </dd><dt class="param-name-index-invalid">zzz</dt><dd class="param-descr-index-invalid"> Aaa. </dd></dl>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_param_5</Name><USR>c:@F@test_cmd_param_5#I#I#</USR><Declaration>void test_cmd_param_5(int x1, int x2)</Declaration><Parameters><Parameter><Name>x1</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa.</Para></Discussion></Parameter><Parameter><Name>x2</Name><Index>1</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Bbb. </Para></Discussion></Parameter><Parameter><Name>zzz</Name><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa. </Para></Discussion></Parameter></Parameters></Function>]
287 // CHECK-NEXT: CommentAST=[
288 // CHECK-NEXT: (CXComment_FullComment
289 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
290 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
291 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
292 // CHECK-NEXT: (CXComment_Paragraph
293 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
294 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
295 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[zzz] ParamIndex=Invalid
296 // CHECK-NEXT: (CXComment_Paragraph
297 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
298 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
299 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
300 // CHECK-NEXT: (CXComment_Paragraph
301 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
305 void test_cmd_param_6(int x1
, ...);
307 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_6:{{.*}} FullCommentAsHTML=[<dl><dt class="param-name-index-0">x1</dt><dd class="param-descr-index-0"> Aaa. </dd><dt class="param-name-index-vararg">...</dt><dd class="param-descr-index-vararg"> Bbb.</dd></dl>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_param_6</Name><USR>c:@F@test_cmd_param_6#I.#</USR><Declaration>void test_cmd_param_6(int x1, ...)</Declaration><Parameters><Parameter><Name>x1</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa. </Para></Discussion></Parameter><Parameter><Name>...</Name><IsVarArg /><Direction isExplicit="0">in</Direction><Discussion><Para> Bbb.</Para></Discussion></Parameter></Parameters></Function>]
308 // CHECK-NEXT: CommentAST=[
309 // CHECK-NEXT: (CXComment_FullComment
310 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
311 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
312 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
313 // CHECK-NEXT: (CXComment_Paragraph
314 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
315 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
316 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[...] ParamIndex=4294967295
317 // CHECK-NEXT: (CXComment_Paragraph
318 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
321 // Tests for \tparam.
325 /// \param aaa Blah blah
327 void test_cmd_tparam_1(T aaa
);
329 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=test_cmd_tparam_1:{{.*}} FullCommentAsHTML=[<dl><dt class="param-name-index-0">aaa</dt><dd class="param-descr-index-0"> Blah blah</dd></dl>] FullCommentAsXML=[<Function templateKind="template" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_tparam_1</Name><USR>c:@FT@>1#Ttest_cmd_tparam_1#t0.0#v#</USR><Declaration>template <typename T> void test_cmd_tparam_1(T aaa)</Declaration><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah</Para></Discussion></Parameter></Parameters></Function>]
330 // CHECK-NEXT: CommentAST=[
331 // CHECK-NEXT: (CXComment_FullComment
332 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
333 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
334 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[] ParamPosition=Invalid
335 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
336 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
337 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0
338 // CHECK-NEXT: (CXComment_Paragraph
339 // CHECK-NEXT: (CXComment_Text Text=[ Blah blah]))))]
342 /// \param aaa Blah blah
344 void test_cmd_tparam_2(T aaa
);
346 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=test_cmd_tparam_2:{{.*}} FullCommentAsHTML=[<dl><dt class="param-name-index-0">aaa</dt><dd class="param-descr-index-0"> Blah blah</dd></dl>] FullCommentAsXML=[<Function templateKind="template" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_tparam_2</Name><USR>c:@FT@>1#Ttest_cmd_tparam_2#t0.0#v#</USR><Declaration>template <typename T> void test_cmd_tparam_2(T aaa)</Declaration><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah</Para></Discussion></Parameter></Parameters></Function>]
347 // CHECK-NEXT: CommentAST=[
348 // CHECK-NEXT: (CXComment_FullComment
349 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
350 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
351 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T] ParamPosition={0}
352 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
353 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
354 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0
355 // CHECK-NEXT: (CXComment_Paragraph
356 // CHECK-NEXT: (CXComment_Text Text=[ Blah blah]))))]
360 template<typename T1
, typename T2
>
361 void test_cmd_tparam_3(T1 aaa
, T2 bbb
);
363 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=test_cmd_tparam_3:{{.*}} FullCommentAsHTML=[<dl><dt class="tparam-name-index-0">T1</dt><dd class="tparam-descr-index-0"> Aaa</dd><dt class="tparam-name-index-1">T2</dt><dd class="tparam-descr-index-1"> Bbb </dd></dl>] FullCommentAsXML=[<Function templateKind="template" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_tparam_3</Name><USR>c:@FT@>2#T#Ttest_cmd_tparam_3#t0.0#t0.1#v#</USR><Declaration>template <typename T1, typename T2> void test_cmd_tparam_3(T1 aaa, T2 bbb)</Declaration><TemplateParameters><Parameter><Name>T1</Name><Index>0</Index><Discussion><Para> Aaa</Para></Discussion></Parameter><Parameter><Name>T2</Name><Index>1</Index><Discussion><Para> Bbb </Para></Discussion></Parameter></TemplateParameters></Function>]
364 // CHECK-NEXT: CommentAST=[
365 // CHECK-NEXT: (CXComment_FullComment
366 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
367 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
368 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T2] ParamPosition={1}
369 // CHECK-NEXT: (CXComment_Paragraph
370 // CHECK-NEXT: (CXComment_Text Text=[ Bbb] HasTrailingNewline)
371 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
372 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T1] ParamPosition={0}
373 // CHECK-NEXT: (CXComment_Paragraph
374 // CHECK-NEXT: (CXComment_Text Text=[ Aaa]))))]
380 template<typename T1
, typename T2
, int V
>
381 void test_cmd_tparam_4(T1 aaa
, T2 bbb
);
383 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=test_cmd_tparam_4:{{.*}} FullCommentAsHTML=[<dl><dt class="tparam-name-index-0">T1</dt><dd class="tparam-descr-index-0"> Aaa</dd><dt class="tparam-name-index-1">T2</dt><dd class="tparam-descr-index-1"> Bbb </dd><dt class="tparam-name-index-2">V</dt><dd class="tparam-descr-index-2"> Ccc </dd><dt class="tparam-name-index-invalid">U</dt><dd class="tparam-descr-index-invalid"> Zzz </dd></dl>] FullCommentAsXML=[<Function templateKind="template" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_tparam_4</Name><USR>c:@FT@>3#T#T#NItest_cmd_tparam_4#t0.0#t0.1#v#</USR><Declaration>template <typename T1, typename T2, int V>\nvoid test_cmd_tparam_4(T1 aaa, T2 bbb)</Declaration><TemplateParameters><Parameter><Name>T1</Name><Index>0</Index><Discussion><Para> Aaa</Para></Discussion></Parameter><Parameter><Name>T2</Name><Index>1</Index><Discussion><Para> Bbb </Para></Discussion></Parameter><Parameter><Name>V</Name><Index>2</Index><Discussion><Para> Ccc </Para></Discussion></Parameter><Parameter><Name>U</Name><Discussion><Para> Zzz </Para></Discussion></Parameter></TemplateParameters></Function>]
384 // CHECK-NEXT: CommentAST=[
385 // CHECK-NEXT: (CXComment_FullComment
386 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
387 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
388 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T2] ParamPosition={1}
389 // CHECK-NEXT: (CXComment_Paragraph
390 // CHECK-NEXT: (CXComment_Text Text=[ Bbb] HasTrailingNewline)
391 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
392 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[U] ParamPosition=Invalid
393 // CHECK-NEXT: (CXComment_Paragraph
394 // CHECK-NEXT: (CXComment_Text Text=[ Zzz] HasTrailingNewline)
395 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
396 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[V] ParamPosition={2}
397 // CHECK-NEXT: (CXComment_Paragraph
398 // CHECK-NEXT: (CXComment_Text Text=[ Ccc] HasTrailingNewline)
399 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
400 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T1] ParamPosition={0}
401 // CHECK-NEXT: (CXComment_Paragraph
402 // CHECK-NEXT: (CXComment_Text Text=[ Aaa]))))]
408 template<template<template<typename T
> class TT
, class C
> class TTT
>
409 void test_cmd_tparam_5();
411 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=test_cmd_tparam_5:{{.*}} FullCommentAsHTML=[<dl><dt class="tparam-name-index-0">TTT</dt><dd class="tparam-descr-index-0"> Ddd </dd><dt class="tparam-name-index-other">C</dt><dd class="tparam-descr-index-other"> Ccc </dd><dt class="tparam-name-index-other">T</dt><dd class="tparam-descr-index-other"> Aaa </dd><dt class="tparam-name-index-other">TT</dt><dd class="tparam-descr-index-other"> Bbb</dd></dl>] FullCommentAsXML=[<Function templateKind="template" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_tparam_5</Name><USR>c:@FT@>1#t>2#t>1#T#Ttest_cmd_tparam_5#v#</USR><Declaration>template <template <template <typename T> class TT, class C> class TTT>\nvoid test_cmd_tparam_5()</Declaration><TemplateParameters><Parameter><Name>TTT</Name><Index>0</Index><Discussion><Para> Ddd </Para></Discussion></Parameter><Parameter><Name>C</Name><Discussion><Para> Ccc </Para></Discussion></Parameter><Parameter><Name>T</Name><Discussion><Para> Aaa </Para></Discussion></Parameter><Parameter><Name>TT</Name><Discussion><Para> Bbb</Para></Discussion></Parameter></TemplateParameters></Function>]
412 // CHECK-NEXT: CommentAST=[
413 // CHECK-NEXT: (CXComment_FullComment
414 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
415 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
416 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[TTT] ParamPosition={0}
417 // CHECK-NEXT: (CXComment_Paragraph
418 // CHECK-NEXT: (CXComment_Text Text=[ Ddd] HasTrailingNewline)
419 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
420 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[C] ParamPosition={0, 1}
421 // CHECK-NEXT: (CXComment_Paragraph
422 // CHECK-NEXT: (CXComment_Text Text=[ Ccc] HasTrailingNewline)
423 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
424 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T] ParamPosition={0, 0, 0}
425 // CHECK-NEXT: (CXComment_Paragraph
426 // CHECK-NEXT: (CXComment_Text Text=[ Aaa] HasTrailingNewline)
427 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
428 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[TT] ParamPosition={0, 0}
429 // CHECK-NEXT: (CXComment_Paragraph
430 // CHECK-NEXT: (CXComment_Text Text=[ Bbb]))))]
433 // Tests for interaction between commands.
443 void test_full_comment_1(int x1
, int x2
);
445 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_full_comment_1:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><p> Bbb.</p><dl><dt class="param-name-index-0">x1</dt><dd class="param-descr-index-0"> Ccc. </dd><dt class="param-name-index-1">x2</dt><dd class="param-descr-index-1"> Ddd. </dd></dl><div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Eee.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_full_comment_1</Name><USR>c:@F@test_full_comment_1#I#I#</USR><Declaration>void test_full_comment_1(int x1, int x2)</Declaration><Abstract><Para> Aaa.</Para></Abstract><Parameters><Parameter><Name>x1</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Ccc. </Para></Discussion></Parameter><Parameter><Name>x2</Name><Index>1</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Ddd. </Para></Discussion></Parameter></Parameters><ResultDiscussion><Para> Eee.</Para></ResultDiscussion><Discussion><Para> Bbb.</Para></Discussion></Function>]
446 // CHECK-NEXT: CommentAST=[
447 // CHECK-NEXT: (CXComment_FullComment
448 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
449 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
450 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
451 // CHECK-NEXT: (CXComment_Paragraph
452 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.])))
453 // CHECK-NEXT: (CXComment_Paragraph
454 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))
455 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
456 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
457 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
458 // CHECK-NEXT: (CXComment_Paragraph
459 // CHECK-NEXT: (CXComment_Text Text=[ Ddd.] HasTrailingNewline)
460 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
461 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
462 // CHECK-NEXT: (CXComment_Paragraph
463 // CHECK-NEXT: (CXComment_Text Text=[ Ccc.] HasTrailingNewline)
464 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
465 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns]
466 // CHECK-NEXT: (CXComment_Paragraph
467 // CHECK-NEXT: (CXComment_Text Text=[ Eee.]))))]
473 /// <br><a href="http://example.com/">Aaa</a>
474 void comment_to_html_conversion_24();
476 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_24:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <br><a href="http://example.com/">Aaa</a></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_24</Name><USR>c:@F@comment_to_html_conversion_24#</USR><Declaration>void comment_to_html_conversion_24()</Declaration><Abstract><Para> <rawHTML><![CDATA[<br>]]></rawHTML><rawHTML><![CDATA[<a href="http://example.com/">]]></rawHTML>Aaa<rawHTML></a></rawHTML></Para></Abstract></Function>]
477 // CHECK-NEXT: CommentAST=[
478 // CHECK-NEXT: (CXComment_FullComment
479 // CHECK-NEXT: (CXComment_Paragraph
480 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
481 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[br])
482 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[a] Attrs: href=http://example.com/)
483 // CHECK-NEXT: (CXComment_Text Text=[Aaa])
484 // CHECK-NEXT: (CXComment_HTMLEndTag Name=[a])))]
487 /// <a href="http://example.com/">Aaa</a>
488 /// <a href='http://example.com/'>Aaa</a>
490 void comment_to_html_conversion_25();
492 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_25:{{.*}} FullCommentAsHTML=[<pre> <a href="http://example.com/">Aaa</a>\n <a href='http://example.com/'>Aaa</a></pre>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_25</Name><USR>c:@F@comment_to_html_conversion_25#</USR><Declaration>void comment_to_html_conversion_25()</Declaration><Discussion><Verbatim xml:space="preserve" kind="verbatim"> <a href="http://example.com/">Aaa</a>\n <a href='http://example.com/'>Aaa</a></Verbatim></Discussion></Function>]
493 // CHECK-NEXT: CommentAST=[
494 // CHECK-NEXT: (CXComment_FullComment
495 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
496 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
497 // CHECK-NEXT: (CXComment_VerbatimBlockCommand CommandName=[verbatim]
498 // CHECK-NEXT: (CXComment_VerbatimBlockLine Text=[ <a href="http://example.com/">Aaa</a>])
499 // CHECK-NEXT: (CXComment_VerbatimBlockLine Text=[ <a href='http://example.com/'>Aaa</a>])))]
503 /// \namespace foo_namespace
504 /// \overload foo_overload
505 /// \property foo_property
506 /// \typedef foo_typedef
508 /// \function foo_function
510 /// \method foo_method
511 /// \interface foo_interface
513 void comment_to_html_conversion_26();
515 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_26:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Blah blah.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_26</Name><USR>c:@F@comment_to_html_conversion_26#</USR><Declaration>void comment_to_html_conversion_26()</Declaration><Abstract><Para> Blah blah.</Para></Abstract></Function>]
516 // CHECK-NEXT: CommentAST=[
517 // CHECK-NEXT: (CXComment_FullComment
518 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
519 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
520 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_def])
521 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
522 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
523 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_fn])
524 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
525 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
526 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_namespace])
527 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
528 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
529 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_overload])
530 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
531 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
532 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_property])
533 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
534 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
535 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_typedef])
536 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
537 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
538 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_var])
539 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
540 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
541 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_function])
542 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
543 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
544 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_class])
545 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
546 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
547 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_method])
548 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace
549 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
550 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_interface])
551 // CHECK-NEXT: (CXComment_Paragraph
552 // CHECK-NEXT: (CXComment_Text Text=[ Blah blah.])))]
555 void comment_to_html_conversion_27();
557 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_27:{{.*}} FullCommentAsHTML=[<p class="para-brief"> </p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_27</Name><USR>c:@F@comment_to_html_conversion_27#</USR><Declaration>void comment_to_html_conversion_27()</Declaration><Abstract><Para> </Para></Abstract></Function>]
558 // CHECK-NEXT: CommentAST=[
559 // CHECK-NEXT: (CXComment_FullComment
560 // CHECK-NEXT: (CXComment_Paragraph
561 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
562 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[unknown] RenderNormal)))]
565 void comment_to_html_conversion_28();
567 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_28:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <b>Aaa</b></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_28</Name><USR>c:@F@comment_to_html_conversion_28#</USR><Declaration>void comment_to_html_conversion_28()</Declaration><Abstract><Para> <bold>Aaa</bold></Para></Abstract></Function>]
568 // CHECK-NEXT: CommentAST=[
569 // CHECK-NEXT: (CXComment_FullComment
570 // CHECK-NEXT: (CXComment_Paragraph
571 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
572 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[b] RenderBold Arg[0]=Aaa)))]
575 void comment_to_html_conversion_29();
577 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_29:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <tt>Aaa</tt> <tt>Bbb</tt></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_29</Name><USR>c:@F@comment_to_html_conversion_29#</USR><Declaration>void comment_to_html_conversion_29()</Declaration><Abstract><Para> <monospaced>Aaa</monospaced> <monospaced>Bbb</monospaced></Para></Abstract></Function>]
578 // CHECK-NEXT: CommentAST=[
579 // CHECK-NEXT: (CXComment_FullComment
580 // CHECK-NEXT: (CXComment_Paragraph
581 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
582 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[c] RenderMonospaced Arg[0]=Aaa)
583 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
584 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[p] RenderMonospaced Arg[0]=Bbb)))]
586 /// \a Aaa \e Bbb \em Ccc
587 void comment_to_html_conversion_30();
589 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_30:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <em>Aaa</em> <em>Bbb</em> <em>Ccc</em></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_30</Name><USR>c:@F@comment_to_html_conversion_30#</USR><Declaration>void comment_to_html_conversion_30()</Declaration><Abstract><Para> <emphasized>Aaa</emphasized> <emphasized>Bbb</emphasized> <emphasized>Ccc</emphasized></Para></Abstract></Function>]
590 // CHECK-NEXT: CommentAST=[
591 // CHECK-NEXT: (CXComment_FullComment
592 // CHECK-NEXT: (CXComment_Paragraph
593 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
594 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=Aaa)
595 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
596 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=Bbb)
597 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
598 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=Ccc)))]
600 /// \a 1<2 \e 3<4 \em 5<6 \param 7<8 aaa \tparam 9<10 bbb
601 void comment_to_html_conversion_31();
603 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_31:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <em>1<2</em> <em>3<4</em> <em>5<6</em> </p><dl><dt class="tparam-name-index-invalid">9<10</dt><dd class="tparam-descr-index-invalid"> bbb</dd></dl><dl><dt class="param-name-index-invalid">7<8</dt><dd class="param-descr-index-invalid"> aaa </dd></dl>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_31</Name><USR>c:@F@comment_to_html_conversion_31#</USR><Declaration>void comment_to_html_conversion_31()</Declaration><Abstract><Para> <emphasized>1<2</emphasized> <emphasized>3<4</emphasized> <emphasized>5<6</emphasized> </Para></Abstract><TemplateParameters><Parameter><Name>9<10</Name><Discussion><Para> bbb</Para></Discussion></Parameter></TemplateParameters><Parameters><Parameter><Name>7<8</Name><Direction isExplicit="0">in</Direction><Discussion><Para> aaa </Para></Discussion></Parameter></Parameters></Function>]
604 // CHECK-NEXT: CommentAST=[
605 // CHECK-NEXT: (CXComment_FullComment
606 // CHECK-NEXT: (CXComment_Paragraph
607 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
608 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=1<2)
609 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
610 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=3<4)
611 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
612 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=5<6)
613 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
614 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[7<8] ParamIndex=Invalid
615 // CHECK-NEXT: (CXComment_Paragraph
616 // CHECK-NEXT: (CXComment_Text Text=[ aaa ])))
617 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[9<10] ParamPosition=Invalid
618 // CHECK-NEXT: (CXComment_Paragraph
619 // CHECK-NEXT: (CXComment_Text Text=[ bbb]))))]
621 /// \\ \@ \& \$ \# \< \> \% \" \. \::
622 void comment_to_html_conversion_32();
624 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_32:{{.*}} FullCommentAsHTML=[<p class="para-brief"> \ @ & $ # < > % " . ::</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_32</Name><USR>c:@F@comment_to_html_conversion_32#</USR><Declaration>void comment_to_html_conversion_32()</Declaration><Abstract><Para> \ @ & $ # < > % " . ::</Para></Abstract></Function>]
625 // CHECK-NEXT: CommentAST=[
626 // CHECK-NEXT: (CXComment_FullComment
627 // CHECK-NEXT: (CXComment_Paragraph
628 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
629 // CHECK-NEXT: (CXComment_Text Text=[\])
630 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
631 // CHECK-NEXT: (CXComment_Text Text=[@])
632 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
633 // CHECK-NEXT: (CXComment_Text Text=[&])
634 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
635 // CHECK-NEXT: (CXComment_Text Text=[$])
636 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
637 // CHECK-NEXT: (CXComment_Text Text=[#])
638 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
639 // CHECK-NEXT: (CXComment_Text Text=[<])
640 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
641 // CHECK-NEXT: (CXComment_Text Text=[>])
642 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
643 // CHECK-NEXT: (CXComment_Text Text=[%])
644 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
645 // CHECK-NEXT: (CXComment_Text Text=["])
646 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
647 // CHECK-NEXT: (CXComment_Text Text=[.])
648 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
649 // CHECK-NEXT: (CXComment_Text Text=[::])))]
651 /// & < > " ' meow meow
652 void comment_to_html_conversion_33();
654 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_33:{{.*}} FullCommentAsHTML=[<p class="para-brief"> & < > " ' meow meow</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_33</Name><USR>c:@F@comment_to_html_conversion_33#</USR><Declaration>void comment_to_html_conversion_33()</Declaration><Abstract><Para> & < > " ' meow meow</Para></Abstract></Function>]
655 // CHECK-NEXT: CommentAST=[
656 // CHECK-NEXT: (CXComment_FullComment
657 // CHECK-NEXT: (CXComment_Paragraph
658 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
659 // CHECK-NEXT: (CXComment_Text Text=[&])
660 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
661 // CHECK-NEXT: (CXComment_Text Text=[<])
662 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
663 // CHECK-NEXT: (CXComment_Text Text=[>])
664 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
665 // CHECK-NEXT: (CXComment_Text Text=["])
666 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
667 // CHECK-NEXT: (CXComment_Text Text=['])
668 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
669 // CHECK-NEXT: (CXComment_Text Text=[m])
670 // CHECK-NEXT: (CXComment_Text Text=[e])
671 // CHECK-NEXT: (CXComment_Text Text=[o])
672 // CHECK-NEXT: (CXComment_Text Text=[w])
673 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
674 // CHECK-NEXT: (CXComment_Text Text=[m])
675 // CHECK-NEXT: (CXComment_Text Text=[e])
676 // CHECK-NEXT: (CXComment_Text Text=[o])
677 // CHECK-NEXT: (CXComment_Text Text=[w])))]
680 void comment_to_html_conversion_34();
682 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_34:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <em>0<i</em></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_34</Name><USR>c:@F@comment_to_html_conversion_34#</USR><Declaration>void comment_to_html_conversion_34()</Declaration><Abstract><Para> <rawHTML><![CDATA[<em>]]></rawHTML>0<i<rawHTML></em></rawHTML></Para></Abstract></Function>]
683 // CHECK-NEXT: CommentAST=[
684 // CHECK-NEXT: (CXComment_FullComment
685 // CHECK-NEXT: (CXComment_Paragraph
686 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
687 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[em])
688 // CHECK-NEXT: (CXComment_Text Text=[0])
689 // CHECK-NEXT: (CXComment_Text Text=[<])
690 // CHECK-NEXT: (CXComment_Text Text=[i])
691 // CHECK-NEXT: (CXComment_HTMLEndTag Name=[em])))]
694 /// © the copyright symbol
695 /// ™ the trade mark symbol
696 /// ® the registered trade mark symbol
697 /// a non-breakable space.
698 /// Δ Greek letter Delta Δ.
699 /// Γ Greek letter Gamma Γ.
700 void comment_to_html_conversion_35();
702 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_35:{{.*}} FullCommentAsHTML=[<p class="para-brief"> © the copyright symbol ™ the trade mark symbol ® the registered trade mark symbol  a non-breakable space. Δ Greek letter Delta Δ. Γ Greek letter Gamma Γ.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_35</Name><USR>c:@F@comment_to_html_conversion_35#</USR><Declaration>void comment_to_html_conversion_35()</Declaration><Abstract><Para> © the copyright symbol ™ the trade mark symbol ® the registered trade mark symbol  a non-breakable space. Δ Greek letter Delta Δ. Γ Greek letter Gamma Γ.</Para></Abstract></Function>]
703 // CHECK-NEXT: CommentAST=[
704 // CHECK-NEXT: (CXComment_FullComment
705 // CHECK-NEXT: (CXComment_Paragraph
706 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
707 // CHECK-NEXT: (CXComment_Text Text=[©])
708 // CHECK-NEXT: (CXComment_Text Text=[ the copyright symbol] HasTrailingNewline)
709 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
710 // CHECK-NEXT: (CXComment_Text Text=[â„¢])
711 // CHECK-NEXT: (CXComment_Text Text=[ the trade mark symbol] HasTrailingNewline)
712 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
713 // CHECK-NEXT: (CXComment_Text Text=[®])
714 // CHECK-NEXT: (CXComment_Text Text=[ the registered trade mark symbol] HasTrailingNewline)
715 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
716 // CHECK-NEXT: (CXComment_Text Text=[Â ])
717 // CHECK-NEXT: (CXComment_Text Text=[ a non-breakable space.] HasTrailingNewline)
718 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
719 // CHECK-NEXT: (CXComment_Text Text=[Δ])
720 // CHECK-NEXT: (CXComment_Text Text=[ Greek letter Delta Δ.] HasTrailingNewline)
721 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
722 // CHECK-NEXT: (CXComment_Text Text=[Γ])
723 // CHECK-NEXT: (CXComment_Text Text=[ Greek letter Gamma Γ.])))]
725 /// <h1 id="]]>">Aaa</h1>
726 void comment_to_html_conversion_36();
728 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_36:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <h1 id="]]>">Aaa</h1></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_36</Name><USR>c:@F@comment_to_html_conversion_36#</USR><Declaration>void comment_to_html_conversion_36()</Declaration><Abstract><Para> <rawHTML><![CDATA[<h1 id="]]]]><![CDATA[>">]]></rawHTML>Aaa<rawHTML></h1></rawHTML></Para></Abstract></Function>]
729 // CHECK-NEXT: CommentAST=[
730 // CHECK-NEXT: (CXComment_FullComment
731 // CHECK-NEXT: (CXComment_Paragraph
732 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
733 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[h1] Attrs: id=]]>)
734 // CHECK-NEXT: (CXComment_Text Text=[Aaa])
735 // CHECK-NEXT: (CXComment_HTMLEndTag Name=[h1])))]
738 void comment_to_html_conversion_37();
740 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_37:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <span id="A"></span></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_37</Name><USR>c:@F@comment_to_html_conversion_37#</USR><Declaration>void comment_to_html_conversion_37()</Declaration><Abstract><Para> <anchor id="A"></anchor></Para></Abstract></Function>]
741 // CHECK-NEXT: CommentAST=[
742 // CHECK-NEXT: (CXComment_FullComment
743 // CHECK-NEXT: (CXComment_Paragraph
744 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
745 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[anchor] RenderAnchor Arg[0]=A)))]
749 class comment_to_xml_conversion_01
{
750 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:7: ClassDecl=comment_to_xml_conversion_01:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>comment_to_xml_conversion_01</Name><USR>c:@S@comment_to_xml_conversion_01</USR><Declaration>class comment_to_xml_conversion_01 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
752 /// \param aaa Blah blah.
753 comment_to_xml_conversion_01(int aaa
);
755 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:3: CXXConstructor=comment_to_xml_conversion_01:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="3"><Name>comment_to_xml_conversion_01</Name><USR>c:@S@comment_to_xml_conversion_01@F@comment_to_xml_conversion_01#I#</USR><Declaration>comment_to_xml_conversion_01(int aaa)</Declaration><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah.</Para></Discussion></Parameter></Parameters></Function>]
758 ~comment_to_xml_conversion_01();
760 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:3: CXXDestructor=~comment_to_xml_conversion_01:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="3"><Name>~comment_to_xml_conversion_01</Name><USR>c:@S@comment_to_xml_conversion_01@F@~comment_to_xml_conversion_01#</USR><Declaration>~comment_to_xml_conversion_01()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
762 /// \param aaa Blah blah.
763 int comment_to_xml_conversion_02(int aaa
);
765 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:7: CXXMethod=comment_to_xml_conversion_02:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="7"><Name>comment_to_xml_conversion_02</Name><USR>c:@S@comment_to_xml_conversion_01@F@comment_to_xml_conversion_02#I#</USR><Declaration>int comment_to_xml_conversion_02(int aaa)</Declaration><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah.</Para></Discussion></Parameter></Parameters></Function>]
767 /// \param aaa Blah blah.
768 static int comment_to_xml_conversion_03(int aaa
);
770 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:14: CXXMethod=comment_to_xml_conversion_03:{{.*}} FullCommentAsXML=[<Function isClassMethod="1" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="14"><Name>comment_to_xml_conversion_03</Name><USR>c:@S@comment_to_xml_conversion_01@F@comment_to_xml_conversion_03#I#S</USR><Declaration>static int comment_to_xml_conversion_03(int aaa)</Declaration><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah.</Para></Discussion></Parameter></Parameters></Function>]
773 int comment_to_xml_conversion_04
;
775 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:7: FieldDecl=comment_to_xml_conversion_04:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="7"><Name>comment_to_xml_conversion_04</Name><USR>c:@S@comment_to_xml_conversion_01@FI@comment_to_xml_conversion_04</USR><Declaration>int comment_to_xml_conversion_04</Declaration><Abstract><Para> Aaa.</Para></Abstract></Variable>]
778 static int comment_to_xml_conversion_05
;
780 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:14: VarDecl=comment_to_xml_conversion_05:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="14"><Name>comment_to_xml_conversion_05</Name><USR>c:@S@comment_to_xml_conversion_01@comment_to_xml_conversion_05</USR><Declaration>static int comment_to_xml_conversion_05</Declaration><Abstract><Para> Aaa.</Para></Abstract></Variable>]
782 /// \param aaa Blah blah.
783 void operator()(int aaa
);
785 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:8: CXXMethod=operator():{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="8"><Name>operator()</Name><USR>c:@S@comment_to_xml_conversion_01@F@operator()#I#</USR><Declaration>void operator()(int aaa)</Declaration><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah.</Para></Discussion></Parameter></Parameters></Function>]
790 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:3: CXXConversion=operator bool:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="3"><Name>operator bool</Name><USR>c:@S@comment_to_xml_conversion_01@F@operator bool#</USR><Declaration>operator bool()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
793 typedef int comment_to_xml_conversion_06
;
795 // USR is line-dependent here, so filter it with a regexp.
796 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-3]]:15: TypedefDecl=comment_to_xml_conversion_06:{{.*}} FullCommentAsXML=[<Typedef file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-3]]" column="15"><Name>comment_to_xml_conversion_06</Name><USR>{{[^<]+}}</USR><Declaration>typedef int comment_to_xml_conversion_06</Declaration><Abstract><Para> Aaa.</Para></Abstract></Typedef>]
799 using comment_to_xml_conversion_07
= int;
801 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:9: TypeAliasDecl=comment_to_xml_conversion_07:{{.*}} FullCommentAsXML=[<Typedef file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="9"><Name>comment_to_xml_conversion_07</Name><USR>c:@S@comment_to_xml_conversion_01@comment_to_xml_conversion_07</USR><Declaration>using comment_to_xml_conversion_07 = int</Declaration><Abstract><Para> Aaa.</Para></Abstract></Typedef>]
804 template<typename T
, typename U
>
805 class comment_to_xml_conversion_08
{ };
807 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:9: ClassTemplate=comment_to_xml_conversion_08:{{.*}} FullCommentAsXML=[<Class templateKind="template" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="9"><Name>comment_to_xml_conversion_08</Name><USR>c:@S@comment_to_xml_conversion_01@ST>2#T#T@comment_to_xml_conversion_08</USR><Declaration>template <typename T, typename U> class comment_to_xml_conversion_08 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
811 using comment_to_xml_conversion_09
= comment_to_xml_conversion_08
<T
, int>;
813 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:3: TypeAliasTemplateDecl=comment_to_xml_conversion_09:{{.*}} FullCommentAsXML=[<Typedef file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="3"><Name>comment_to_xml_conversion_09</Name><USR>c:@S@comment_to_xml_conversion_01@comment_to_xml_conversion_09</USR><Declaration>template <typename T>\nusing comment_to_xml_conversion_09 = comment_to_xml_conversion_08<T, int></Declaration><Abstract><Para> Aaa.</Para></Abstract></Typedef>]
817 template<typename T
, typename U
>
818 void comment_to_xml_conversion_10(T aaa
, U bbb
);
820 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=comment_to_xml_conversion_10:{{.*}} FullCommentAsXML=[<Function templateKind="template" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_xml_conversion_10</Name><USR>c:@FT@>2#T#Tcomment_to_xml_conversion_10#t0.0#t0.1#v#</USR><Declaration>template <typename T, typename U>\nvoid comment_to_xml_conversion_10(T aaa, U bbb)</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
824 void comment_to_xml_conversion_10(int aaa
, int bbb
);
826 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_xml_conversion_10:{{.*}} FullCommentAsXML=[<Function templateKind="specialization" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_xml_conversion_10</Name><USR>c:@F@comment_to_xml_conversion_10<#I#I>#I#I#</USR><Declaration>template <> void comment_to_xml_conversion_10<int, int>(int aaa, int bbb)</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
829 template<typename T
, typename U
>
830 class comment_to_xml_conversion_11
{ };
832 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:7: ClassTemplate=comment_to_xml_conversion_11:{{.*}} FullCommentAsXML=[<Class templateKind="template" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="7"><Name>comment_to_xml_conversion_11</Name><USR>c:@ST>2#T#T@comment_to_xml_conversion_11</USR><Declaration>template <typename T, typename U> class comment_to_xml_conversion_11 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
836 class comment_to_xml_conversion_11
<T
, int> { };
838 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:7: ClassTemplatePartialSpecialization=comment_to_xml_conversion_11:{{.*}} FullCommentAsXML=[<Class templateKind="partialSpecialization" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="7"><Name>comment_to_xml_conversion_11</Name><USR>c:@SP>1#T@comment_to_xml_conversion_11>#t0.0#I</USR><Declaration>template <typename T> class comment_to_xml_conversion_11<T, int> {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
842 class comment_to_xml_conversion_11
<int, int> { };
844 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:7: ClassDecl=comment_to_xml_conversion_11:{{.*}} FullCommentAsXML=[<Class templateKind="specialization" file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="7"><Name>comment_to_xml_conversion_11</Name><USR>c:@S@comment_to_xml_conversion_11>#I#I</USR><Declaration>template <> class comment_to_xml_conversion_11<int, int> {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
847 int comment_to_xml_conversion_12
;
849 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:5: VarDecl=comment_to_xml_conversion_12:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="5"><Name>comment_to_xml_conversion_12</Name><USR>c:@comment_to_xml_conversion_12</USR><Declaration>int comment_to_xml_conversion_12</Declaration><Abstract><Para> Aaa.</Para></Abstract></Variable>]
852 namespace comment_to_xml_conversion_13
{
853 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:11: Namespace=comment_to_xml_conversion_13:{{.*}} FullCommentAsXML=[<Namespace file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="11"><Name>comment_to_xml_conversion_13</Name><USR>c:@N@comment_to_xml_conversion_13</USR><Declaration>namespace comment_to_xml_conversion_13 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Namespace>]
856 namespace comment_to_xml_conversion_14
{
857 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:13: Namespace=comment_to_xml_conversion_14:{{.*}} FullCommentAsXML=[<Namespace file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="13"><Name>comment_to_xml_conversion_14</Name><USR>c:@N@comment_to_xml_conversion_13@N@comment_to_xml_conversion_14</USR><Declaration>namespace comment_to_xml_conversion_14 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Namespace>]
862 enum comment_to_xml_conversion_15
{
863 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: EnumDecl=comment_to_xml_conversion_15:{{.*}} FullCommentAsXML=[<Enum file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_15</Name><USR>c:@E@comment_to_xml_conversion_15</USR><Declaration>enum comment_to_xml_conversion_15{{( : int)?}} {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Enum>]
866 comment_to_xml_conversion_16
867 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:3: EnumConstantDecl=comment_to_xml_conversion_16:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="3"><Name>comment_to_xml_conversion_16</Name><USR>c:@E@comment_to_xml_conversion_15@comment_to_xml_conversion_16</USR><Declaration>comment_to_xml_conversion_16</Declaration><Abstract><Para> Aaa.</Para></Abstract></Variable>]
871 enum class comment_to_xml_conversion_17
{
872 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:12: EnumDecl=comment_to_xml_conversion_17:{{.*}} FullCommentAsXML=[<Enum file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="12"><Name>comment_to_xml_conversion_17</Name><USR>c:@E@comment_to_xml_conversion_17</USR><Declaration>enum class comment_to_xml_conversion_17 : int {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Enum>]
875 comment_to_xml_conversion_18
876 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:3: EnumConstantDecl=comment_to_xml_conversion_18:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="3"><Name>comment_to_xml_conversion_18</Name><USR>c:@E@comment_to_xml_conversion_17@comment_to_xml_conversion_18</USR><Declaration>comment_to_xml_conversion_18</Declaration><Abstract><Para> Aaa.</Para></Abstract></Variable>]
879 /// <a href="http://example.org/">
880 void comment_to_xml_conversion_unsafe_html_01();
881 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_01:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_01</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_01#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_01()</Declaration><Abstract><Para> <rawHTML isMalformed="1"><![CDATA[<a href="http://example.org/">]]></rawHTML></Para></Abstract></Function>]
883 /// <a href="http://example.org/"><em>Aaa</em>
884 void comment_to_xml_conversion_unsafe_html_02();
885 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_02:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_02</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_02#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_02()</Declaration><Abstract><Para> <rawHTML isMalformed="1"><![CDATA[<a href="http://example.org/">]]></rawHTML><rawHTML><![CDATA[<em>]]></rawHTML>Aaa<rawHTML></em></rawHTML></Para></Abstract></Function>]
888 void comment_to_xml_conversion_unsafe_html_03();
889 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_03:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_03</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_03#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_03()</Declaration><Abstract><Para> <rawHTML isMalformed="1"><![CDATA[<em>]]></rawHTML>Aaa</Para></Abstract></Function>]
892 void comment_to_xml_conversion_unsafe_html_04();
893 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_04:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_04</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_04#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_04()</Declaration><Abstract><Para> <rawHTML><![CDATA[<em>]]></rawHTML>Aaa<rawHTML isMalformed="1"></b></rawHTML><rawHTML></em></rawHTML></Para></Abstract></Function>]
896 void comment_to_xml_conversion_unsafe_html_05();
897 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_05:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_05</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_05#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_05()</Declaration><Abstract><Para> <rawHTML><![CDATA[<em>]]></rawHTML>Aaa<rawHTML></em></rawHTML><rawHTML isMalformed="1"></b></rawHTML></Para></Abstract></Function>]
900 void comment_to_xml_conversion_unsafe_html_06();
901 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_06:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_06</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_06#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_06()</Declaration><Abstract><Para> <rawHTML isMalformed="1"></table></rawHTML></Para></Abstract></Function>]
903 /// <div onclick="alert('meow');">Aaa</div>
904 void comment_to_xml_conversion_unsafe_html_07();
905 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_07:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_07</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_07#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_07()</Declaration><Abstract><Para> <rawHTML><![CDATA[<div onclick="alert('meow');">]]></rawHTML>Aaa<rawHTML></div></rawHTML></Para></Abstract></Function>]
908 // Check that we attach comments from the base class to derived classes if they don't have a comment.
912 /// BaseToSuper1_Base
913 class BaseToSuper1_Base
{};
915 class BaseToSuper1_Derived
: public BaseToSuper1_Base
{};
916 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:7: ClassDecl=BaseToSuper1_Derived:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>BaseToSuper1_Base</Name><USR>c:@S@BaseToSuper1_Base</USR><Declaration>class BaseToSuper1_Derived : public BaseToSuper1_Base {}</Declaration><Abstract><Para> BaseToSuper1_Base</Para></Abstract></Class>]
919 /// BaseToSuper2_Base
920 class BaseToSuper2_Base
{};
922 /// BaseToSuper2_Derived
923 class BaseToSuper2_Derived
: public BaseToSuper2_Base
{};
924 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:7: ClassDecl=BaseToSuper2_Derived:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>BaseToSuper2_Derived</Name><USR>c:@S@BaseToSuper2_Derived</USR><Declaration>class BaseToSuper2_Derived : public BaseToSuper2_Base {}</Declaration><Abstract><Para> BaseToSuper2_Derived</Para></Abstract></Class>]
926 class BaseToSuper2_MoreDerived
: public BaseToSuper2_Derived
{};
927 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:7: ClassDecl=BaseToSuper2_MoreDerived:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>BaseToSuper2_Derived</Name><USR>c:@S@BaseToSuper2_Derived</USR><Declaration>class BaseToSuper2_MoreDerived : public BaseToSuper2_Derived {}</Declaration><Abstract><Para> BaseToSuper2_Derived</Para></Abstract></Class>]
930 /// BaseToSuper3_Base
931 class BaseToSuper3_Base
{};
933 class BaseToSuper3_DerivedA
: public virtual BaseToSuper3_Base
{};
935 class BaseToSuper3_DerivedB
: public virtual BaseToSuper3_Base
{};
937 class BaseToSuper3_MoreDerived
: public BaseToSuper3_DerivedA
, public BaseToSuper3_DerivedB
{};
938 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:7: ClassDecl=BaseToSuper3_MoreDerived:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>BaseToSuper3_Base</Name><USR>c:@S@BaseToSuper3_Base</USR><Declaration>class BaseToSuper3_MoreDerived : public BaseToSuper3_DerivedA,\n public BaseToSuper3_DerivedB {}</Declaration><Abstract><Para> BaseToSuper3_Base</Para></Abstract></Class>]
941 // Check that we propagate comments only through public inheritance.
943 /// BaseToSuper4_Base
944 class BaseToSuper4_Base
{};
946 /// BaseToSuper4_DerivedA
947 class BaseToSuper4_DerivedA
: virtual BaseToSuper4_Base
{};
949 class BaseToSuper4_DerivedB
: public virtual BaseToSuper4_Base
{};
951 class BaseToSuper4_MoreDerived
: BaseToSuper4_DerivedA
, public BaseToSuper4_DerivedB
{};
952 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:7: ClassDecl=BaseToSuper4_MoreDerived:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>BaseToSuper4_Base</Name><USR>c:@S@BaseToSuper4_Base</USR><Declaration>class BaseToSuper4_MoreDerived : BaseToSuper4_DerivedA,\n public BaseToSuper4_DerivedB {}</Declaration><Abstract><Para> BaseToSuper4_Base</Para></Abstract></Class>]
955 // Check the representation of \todo in XML.
960 void comment_to_xml_conversion_todo_1();
961 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_todo_1:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_todo_1</Name><USR>c:@F@comment_to_xml_conversion_todo_1#</USR><Declaration>void comment_to_xml_conversion_todo_1()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Discussion><Para kind="todo"> Bbb.</Para></Discussion></Function>]
967 void comment_to_xml_conversion_todo_2();
968 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_todo_2:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_todo_2</Name><USR>c:@F@comment_to_xml_conversion_todo_2#</USR><Declaration>void comment_to_xml_conversion_todo_2()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Discussion><Para kind="todo"> Bbb.</Para><Para> Ccc.</Para></Discussion></Function>]
975 void comment_to_xml_conversion_todo_3();
976 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_todo_3:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_todo_3</Name><USR>c:@F@comment_to_xml_conversion_todo_3#</USR><Declaration>void comment_to_xml_conversion_todo_3()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Discussion><Para kind="todo"> Bbb.</Para><Para> Ccc. </Para><Para kind="todo"> Ddd.</Para></Discussion></Function>]
981 void comment_to_xml_conversion_todo_4();
982 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_todo_4:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_todo_4</Name><USR>c:@F@comment_to_xml_conversion_todo_4#</USR><Declaration>void comment_to_xml_conversion_todo_4()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Discussion><Para kind="todo"> Bbb. </Para><Para kind="todo"> Ccc.</Para></Discussion></Function>]
986 // Test the representation of exception specifications in AST and XML.
991 void comment_to_xml_conversion_exceptions_1();
992 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_1:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_1</Name><USR>c:@F@comment_to_xml_conversion_exceptions_1#</USR><Declaration>void comment_to_xml_conversion_exceptions_1()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para> Bbb.</Para></Exceptions></Function>]
993 // CHECK-NEXT: CommentAST=[
994 // CHECK-NEXT: (CXComment_FullComment
995 // CHECK-NEXT: (CXComment_Paragraph
996 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
997 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
998 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws]
999 // CHECK-NEXT: (CXComment_Paragraph
1000 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
1004 void comment_to_xml_conversion_exceptions_2();
1005 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_2:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_2</Name><USR>c:@F@comment_to_xml_conversion_exceptions_2#</USR><Declaration>void comment_to_xml_conversion_exceptions_2()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para> Bbb.</Para></Exceptions></Function>]
1006 // CHECK-NEXT: CommentAST=[
1007 // CHECK-NEXT: (CXComment_FullComment
1008 // CHECK-NEXT: (CXComment_Paragraph
1009 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
1010 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
1011 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throw]
1012 // CHECK-NEXT: (CXComment_Paragraph
1013 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
1017 void comment_to_xml_conversion_exceptions_3();
1018 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_3:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_3</Name><USR>c:@F@comment_to_xml_conversion_exceptions_3#</USR><Declaration>void comment_to_xml_conversion_exceptions_3()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para> Bbb.</Para></Exceptions></Function>]
1019 // CHECK-NEXT: CommentAST=[
1020 // CHECK-NEXT: (CXComment_FullComment
1021 // CHECK-NEXT: (CXComment_Paragraph
1022 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
1023 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
1024 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[exception]
1025 // CHECK-NEXT: (CXComment_Paragraph
1026 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
1032 void comment_to_xml_conversion_exceptions_4();
1033 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_4:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_4</Name><USR>c:@F@comment_to_xml_conversion_exceptions_4#</USR><Declaration>void comment_to_xml_conversion_exceptions_4()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para> Bbb. </Para><Para> Ccc. </Para><Para> Ddd.</Para></Exceptions></Function>]
1034 // CHECK-NEXT: CommentAST=[
1035 // CHECK-NEXT: (CXComment_FullComment
1036 // CHECK-NEXT: (CXComment_Paragraph
1037 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
1038 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
1039 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws]
1040 // CHECK-NEXT: (CXComment_Paragraph
1041 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
1042 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
1043 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws]
1044 // CHECK-NEXT: (CXComment_Paragraph
1045 // CHECK-NEXT: (CXComment_Text Text=[ Ccc.] HasTrailingNewline)
1046 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
1047 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws]
1048 // CHECK-NEXT: (CXComment_Paragraph
1049 // CHECK-NEXT: (CXComment_Text Text=[ Ddd.]))))]
1054 void comment_to_xml_conversion_exceptions_5();
1055 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_5:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_5</Name><USR>c:@F@comment_to_xml_conversion_exceptions_5#</USR><Declaration>void comment_to_xml_conversion_exceptions_5()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para> Bbb. </Para><Para> Ccc.</Para></Exceptions></Function>]
1056 // CHECK-NEXT: CommentAST=[
1057 // CHECK-NEXT: (CXComment_FullComment
1058 // CHECK-NEXT: (CXComment_Paragraph
1059 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
1060 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
1061 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws]
1062 // CHECK-NEXT: (CXComment_Paragraph
1063 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
1064 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
1065 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throw]
1066 // CHECK-NEXT: (CXComment_Paragraph
1067 // CHECK-NEXT: (CXComment_Text Text=[ Ccc.]))))]