comment-to-html-xml-conversion.cpp revision d4397b99e2fcb189002d04410d7c3bf85ab4bba3
1// RUN: rm -rf %t
2// RUN: mkdir %t
3
4// Check that we serialize comment source locations properly.
5// RUN: %clang_cc1 -x c++ -std=c++11 -emit-pch -o %t/out.pch %s
6// RUN: %clang_cc1 -x c++ -std=c++11 -include-pch %t/out.pch -fsyntax-only %s
7
8// 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
9// RUN: c-index-test -test-load-tu %t/out.pch all > %t/out.c-index-pch
10
11// RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-direct
12// RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-pch
13
14// Ensure that XML is not invalid
15// WRONG-NOT: CommentXMLInvalid
16
17// RUN: FileCheck %s < %t/out.c-index-direct
18// RUN: FileCheck %s < %t/out.c-index-pch
19
20#ifndef HEADER
21#define HEADER
22
23/// Aaa.
24void comment_to_html_conversion_1();
25
26// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_1:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_1</Name><USR>c:@F@comment_to_html_conversion_1#</USR><Declaration>void comment_to_html_conversion_1()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
27// CHECK-NEXT:  CommentAST=[
28// CHECK-NEXT:    (CXComment_FullComment
29// CHECK-NEXT:       (CXComment_Paragraph
30// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.])))]
31
32/// \brief Aaa.
33void comment_to_html_conversion_2();
34
35// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_2:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_2</Name><USR>c:@F@comment_to_html_conversion_2#</USR><Declaration>void comment_to_html_conversion_2()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
36// CHECK-NEXT:  CommentAST=[
37// CHECK-NEXT:    (CXComment_FullComment
38// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
39// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
40// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
41// CHECK-NEXT:         (CXComment_Paragraph
42// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
43
44/// \short Aaa.
45void comment_to_html_conversion_3();
46
47// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_3:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_3</Name><USR>c:@F@comment_to_html_conversion_3#</USR><Declaration>void comment_to_html_conversion_3()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
48// CHECK-NEXT:  CommentAST=[
49// CHECK-NEXT:    (CXComment_FullComment
50// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
51// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
52// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[short]
53// CHECK-NEXT:         (CXComment_Paragraph
54// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
55
56/// Aaa.
57///
58/// \brief Bbb.
59void comment_to_html_conversion_4();
60
61// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_4:{{.*}} 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>comment_to_html_conversion_4</Name><USR>c:@F@comment_to_html_conversion_4#</USR><Declaration>void comment_to_html_conversion_4()</Declaration><Abstract><Para> Bbb.</Para></Abstract><Discussion><Para> Aaa.</Para></Discussion></Function>]
62// CHECK-NEXT:  CommentAST=[
63// CHECK-NEXT:    (CXComment_FullComment
64// CHECK-NEXT:       (CXComment_Paragraph
65// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
66// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
67// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
68// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
69// CHECK-NEXT:         (CXComment_Paragraph
70// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
71
72/// Aaa.
73///
74/// \brief Bbb.
75///
76/// Ccc.
77void comment_to_html_conversion_5();
78
79// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_5:{{.*}} 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>comment_to_html_conversion_5</Name><USR>c:@F@comment_to_html_conversion_5#</USR><Declaration>void comment_to_html_conversion_5()</Declaration><Abstract><Para> Bbb.</Para></Abstract><Discussion><Para> Aaa.</Para><Para> Ccc.</Para></Discussion></Function>]
80// CHECK-NEXT:  CommentAST=[
81// CHECK-NEXT:    (CXComment_FullComment
82// CHECK-NEXT:       (CXComment_Paragraph
83// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
84// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
85// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
86// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
87// CHECK-NEXT:         (CXComment_Paragraph
88// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.])))
89// CHECK-NEXT:       (CXComment_Paragraph
90// CHECK-NEXT:         (CXComment_Text Text=[ Ccc.])))]
91
92/// \brief Aaa.
93/// \brief Bbb.
94void comment_to_html_conversion_6();
95
96// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_6:{{.*}} 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>comment_to_html_conversion_6</Name><USR>c:@F@comment_to_html_conversion_6#</USR><Declaration>void comment_to_html_conversion_6()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Discussion><Para> Bbb.</Para></Discussion></Function>]
97// CHECK-NEXT:  CommentAST=[
98// CHECK-NEXT:    (CXComment_FullComment
99// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
100// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
101// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
102// CHECK-NEXT:         (CXComment_Paragraph
103// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
104// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
105// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
106// CHECK-NEXT:         (CXComment_Paragraph
107// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
108
109/// Aaa.
110///
111/// \return Bbb.
112void comment_to_html_conversion_7();
113
114// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_7:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><p class="para-returns"><span class="word-returns">Returns</span>  Bbb.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_7</Name><USR>c:@F@comment_to_html_conversion_7#</USR><Declaration>void comment_to_html_conversion_7()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Bbb.</Para></ResultDiscussion></Function>]
115// CHECK-NEXT:  CommentAST=[
116// CHECK-NEXT:    (CXComment_FullComment
117// CHECK-NEXT:       (CXComment_Paragraph
118// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
119// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
120// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
121// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[return]
122// CHECK-NEXT:         (CXComment_Paragraph
123// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
124
125/// Aaa.
126///
127/// \returns Bbb.
128void comment_to_html_conversion_8();
129
130// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_8:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><p class="para-returns"><span class="word-returns">Returns</span>  Bbb.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_8</Name><USR>c:@F@comment_to_html_conversion_8#</USR><Declaration>void comment_to_html_conversion_8()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Bbb.</Para></ResultDiscussion></Function>]
131// CHECK-NEXT:  CommentAST=[
132// CHECK-NEXT:    (CXComment_FullComment
133// CHECK-NEXT:       (CXComment_Paragraph
134// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
135// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
136// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
137// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
138// CHECK-NEXT:         (CXComment_Paragraph
139// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
140
141/// Aaa.
142///
143/// \result Bbb.
144void comment_to_html_conversion_9();
145
146// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_9:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><p class="para-returns"><span class="word-returns">Returns</span>  Bbb.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_9</Name><USR>c:@F@comment_to_html_conversion_9#</USR><Declaration>void comment_to_html_conversion_9()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Bbb.</Para></ResultDiscussion></Function>]
147// CHECK-NEXT:  CommentAST=[
148// CHECK-NEXT:    (CXComment_FullComment
149// CHECK-NEXT:       (CXComment_Paragraph
150// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
151// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
152// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
153// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[result]
154// CHECK-NEXT:         (CXComment_Paragraph
155// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
156
157/// \returns Aaa.
158/// \returns Bbb.
159void comment_to_html_conversion_10();
160
161// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_10:{{.*}} FullCommentAsHTML=[<p class="para-returns"><span class="word-returns">Returns</span>  Bbb.</p><p class="para-returns"><span class="word-returns">Returns</span>  Aaa. </p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_10</Name><USR>c:@F@comment_to_html_conversion_10#</USR><Declaration>void comment_to_html_conversion_10()</Declaration><ResultDiscussion><Para> Aaa. </Para></ResultDiscussion><Discussion><Para> Bbb.</Para></Discussion></Function>]
162// CHECK-NEXT:  CommentAST=[
163// CHECK-NEXT:    (CXComment_FullComment
164// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
165// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
166// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
167// CHECK-NEXT:         (CXComment_Paragraph
168// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
169// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
170// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
171// CHECK-NEXT:         (CXComment_Paragraph
172// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
173
174/// Aaa.
175///
176/// Bbb.
177///
178/// \returns Ccc.
179void comment_to_html_conversion_11();
180
181// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_11:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><p> Bbb.</p><p class="para-returns"><span class="word-returns">Returns</span>  Ccc.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_11</Name><USR>c:@F@comment_to_html_conversion_11#</USR><Declaration>void comment_to_html_conversion_11()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Ccc.</Para></ResultDiscussion><Discussion><Para> Bbb.</Para></Discussion></Function>]
182// CHECK-NEXT:  CommentAST=[
183// CHECK-NEXT:    (CXComment_FullComment
184// CHECK-NEXT:       (CXComment_Paragraph
185// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
186// CHECK-NEXT:       (CXComment_Paragraph
187// CHECK-NEXT:         (CXComment_Text Text=[ Bbb.]))
188// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
189// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
190// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
191// CHECK-NEXT:         (CXComment_Paragraph
192// CHECK-NEXT:           (CXComment_Text Text=[ Ccc.]))))]
193
194/// \param
195void comment_to_html_conversion_12(int x1);
196
197// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_12:{{.*}} FullCommentAsHTML=[] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_12</Name><USR>c:@F@comment_to_html_conversion_12#I#</USR><Declaration>void comment_to_html_conversion_12(int x1)</Declaration></Function>]
198// CHECK-NEXT:  CommentAST=[
199// CHECK-NEXT:    (CXComment_FullComment
200// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
201// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
202// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[] ParamIndex=Invalid
203// CHECK-NEXT:         (CXComment_Paragraph IsWhitespace)))]
204
205/// \param x1 Aaa.
206void comment_to_html_conversion_13(int x1);
207
208// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_13:{{.*}} 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>comment_to_html_conversion_13</Name><USR>c:@F@comment_to_html_conversion_13#I#</USR><Declaration>void comment_to_html_conversion_13(int x1)</Declaration><Parameters><Parameter><Name>x1</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa.</Para></Discussion></Parameter></Parameters></Function>]
209// CHECK-NEXT:  CommentAST=[
210// CHECK-NEXT:    (CXComment_FullComment
211// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
212// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
213// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
214// CHECK-NEXT:         (CXComment_Paragraph
215// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
216
217/// \param zzz Aaa.
218void comment_to_html_conversion_14(int x1);
219
220// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_14:{{.*}} 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>comment_to_html_conversion_14</Name><USR>c:@F@comment_to_html_conversion_14#I#</USR><Declaration>void comment_to_html_conversion_14(int x1)</Declaration><Parameters><Parameter><Name>zzz</Name><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa.</Para></Discussion></Parameter></Parameters></Function>]
221// CHECK-NEXT:  CommentAST=[
222// CHECK-NEXT:    (CXComment_FullComment
223// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
224// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
225// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[zzz] ParamIndex=Invalid
226// CHECK-NEXT:         (CXComment_Paragraph
227// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
228
229/// \param x2 Bbb.
230/// \param x1 Aaa.
231void comment_to_html_conversion_15(int x1, int x2);
232
233// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_15:{{.*}} 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>comment_to_html_conversion_15</Name><USR>c:@F@comment_to_html_conversion_15#I#I#</USR><Declaration>void comment_to_html_conversion_15(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>]
234// CHECK-NEXT:  CommentAST=[
235// CHECK-NEXT:    (CXComment_FullComment
236// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
237// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
238// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
239// CHECK-NEXT:         (CXComment_Paragraph
240// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
241// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
242// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
243// CHECK-NEXT:         (CXComment_Paragraph
244// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
245
246/// \param x2 Bbb.
247/// \param zzz Aaa.
248/// \param x1 Aaa.
249void comment_to_html_conversion_16(int x1, int x2);
250
251// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_16:{{.*}} 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>comment_to_html_conversion_16</Name><USR>c:@F@comment_to_html_conversion_16#I#I#</USR><Declaration>void comment_to_html_conversion_16(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>]
252// CHECK-NEXT:  CommentAST=[
253// CHECK-NEXT:    (CXComment_FullComment
254// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
255// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
256// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
257// CHECK-NEXT:         (CXComment_Paragraph
258// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
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.] HasTrailingNewline)
263// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
264// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
265// CHECK-NEXT:         (CXComment_Paragraph
266// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
267
268/// \tparam
269/// \param aaa Blah blah
270template<typename T>
271void comment_to_html_conversion_17(T aaa);
272
273// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=comment_to_html_conversion_17:{{.*}} 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>comment_to_html_conversion_17</Name><USR>c:@FT@&gt;1#Tcomment_to_html_conversion_17#t0.0#</USR><Declaration>template &lt;typename T&gt; void comment_to_html_conversion_17(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>]
274// CHECK-NEXT:  CommentAST=[
275// CHECK-NEXT:    (CXComment_FullComment
276// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
277// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
278// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[] ParamPosition=Invalid
279// CHECK-NEXT:         (CXComment_Paragraph IsWhitespace
280// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
281// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0
282// CHECK-NEXT:         (CXComment_Paragraph
283// CHECK-NEXT:           (CXComment_Text Text=[ Blah blah]))))]
284
285/// \tparam T
286/// \param aaa Blah blah
287template<typename T>
288void comment_to_html_conversion_18(T aaa);
289
290// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=comment_to_html_conversion_18:{{.*}} 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>comment_to_html_conversion_18</Name><USR>c:@FT@&gt;1#Tcomment_to_html_conversion_18#t0.0#</USR><Declaration>template &lt;typename T&gt; void comment_to_html_conversion_18(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>]
291// CHECK-NEXT:  CommentAST=[
292// CHECK-NEXT:    (CXComment_FullComment
293// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
294// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
295// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T] ParamPosition={0}
296// CHECK-NEXT:         (CXComment_Paragraph IsWhitespace
297// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
298// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0
299// CHECK-NEXT:         (CXComment_Paragraph
300// CHECK-NEXT:           (CXComment_Text Text=[ Blah blah]))))]
301
302/// \tparam T2 Bbb
303/// \tparam T1 Aaa
304template<typename T1, typename T2>
305void comment_to_html_conversion_19(T1 aaa, T2 bbb);
306
307// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=comment_to_html_conversion_19:{{.*}} 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>comment_to_html_conversion_19</Name><USR>c:@FT@&gt;2#T#Tcomment_to_html_conversion_19#t0.0#t0.1#</USR><Declaration>template &lt;typename T1, typename T2&gt;\nvoid comment_to_html_conversion_19(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>]
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_TParamCommand ParamName=[T2] ParamPosition={1}
313// CHECK-NEXT:         (CXComment_Paragraph
314// CHECK-NEXT:           (CXComment_Text Text=[ Bbb] HasTrailingNewline)
315// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
316// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T1] ParamPosition={0}
317// CHECK-NEXT:         (CXComment_Paragraph
318// CHECK-NEXT:           (CXComment_Text Text=[ Aaa]))))]
319
320/// \tparam T2 Bbb
321/// \tparam U Zzz
322/// \tparam V Ccc
323/// \tparam T1 Aaa
324template<typename T1, typename T2, int V>
325void comment_to_html_conversion_20(T1 aaa, T2 bbb);
326
327// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=comment_to_html_conversion_20:{{.*}} 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>comment_to_html_conversion_20</Name><USR>c:@FT@&gt;3#T#T#NIcomment_to_html_conversion_20#t0.0#t0.1#</USR><Declaration>template &lt;typename T1, typename T2, int V&gt;\nvoid comment_to_html_conversion_20(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>]
328// CHECK-NEXT:  CommentAST=[
329// CHECK-NEXT:    (CXComment_FullComment
330// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
331// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
332// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T2] ParamPosition={1}
333// CHECK-NEXT:         (CXComment_Paragraph
334// CHECK-NEXT:           (CXComment_Text Text=[ Bbb] HasTrailingNewline)
335// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
336// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[U] ParamPosition=Invalid
337// CHECK-NEXT:         (CXComment_Paragraph
338// CHECK-NEXT:           (CXComment_Text Text=[ Zzz] HasTrailingNewline)
339// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
340// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[V] ParamPosition={2}
341// CHECK-NEXT:         (CXComment_Paragraph
342// CHECK-NEXT:           (CXComment_Text Text=[ Ccc] HasTrailingNewline)
343// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
344// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T1] ParamPosition={0}
345// CHECK-NEXT:         (CXComment_Paragraph
346// CHECK-NEXT:           (CXComment_Text Text=[ Aaa]))))]
347
348/// \tparam TTT Ddd
349/// \tparam C Ccc
350/// \tparam T Aaa
351/// \tparam TT Bbb
352template<template<template<typename T> class TT, class C> class TTT>
353void comment_to_html_conversion_21();
354
355// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=comment_to_html_conversion_21:{{.*}} 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>comment_to_html_conversion_21</Name><USR>c:@FT@&gt;1#t&gt;2#t&gt;1#T#Tcomment_to_html_conversion_21#</USR><Declaration>template &lt;template &lt;template &lt;typename T&gt; class TT,\n                    class C &gt; class TTT &gt; void comment_to_html_conversion_21()</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>]
356// CHECK-NEXT:  CommentAST=[
357// CHECK-NEXT:    (CXComment_FullComment
358// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
359// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
360// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[TTT] ParamPosition={0}
361// CHECK-NEXT:         (CXComment_Paragraph
362// CHECK-NEXT:           (CXComment_Text Text=[ Ddd] HasTrailingNewline)
363// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
364// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[C] ParamPosition={0, 1}
365// CHECK-NEXT:         (CXComment_Paragraph
366// CHECK-NEXT:           (CXComment_Text Text=[ Ccc] HasTrailingNewline)
367// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
368// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T] ParamPosition={0, 0, 0}
369// CHECK-NEXT:         (CXComment_Paragraph
370// CHECK-NEXT:           (CXComment_Text Text=[ Aaa] HasTrailingNewline)
371// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
372// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[TT] ParamPosition={0, 0}
373// CHECK-NEXT:         (CXComment_Paragraph
374// CHECK-NEXT:           (CXComment_Text Text=[ Bbb]))))]
375
376/// \brief Aaa.
377///
378/// Bbb.
379///
380/// \param x2 Ddd.
381/// \param x1 Ccc.
382/// \returns Eee.
383void comment_to_html_conversion_22(int x1, int x2);
384
385// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_22:{{.*}} 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><p class="para-returns"><span class="word-returns">Returns</span>  Eee.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_22</Name><USR>c:@F@comment_to_html_conversion_22#I#I#</USR><Declaration>void comment_to_html_conversion_22(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>]
386// CHECK-NEXT:  CommentAST=[
387// CHECK-NEXT:    (CXComment_FullComment
388// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
389// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
390// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
391// CHECK-NEXT:         (CXComment_Paragraph
392// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.])))
393// CHECK-NEXT:       (CXComment_Paragraph
394// CHECK-NEXT:         (CXComment_Text Text=[ Bbb.]))
395// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
396// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
397// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
398// CHECK-NEXT:         (CXComment_Paragraph
399// CHECK-NEXT:           (CXComment_Text Text=[ Ddd.] HasTrailingNewline)
400// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
401// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
402// CHECK-NEXT:         (CXComment_Paragraph
403// CHECK-NEXT:           (CXComment_Text Text=[ Ccc.] HasTrailingNewline)
404// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
405// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
406// CHECK-NEXT:         (CXComment_Paragraph
407// CHECK-NEXT:           (CXComment_Text Text=[ Eee.]))))]
408
409/// <br><a href="http://example.com/">Aaa</a>
410void comment_to_html_conversion_23();
411
412// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_23:{{.*}} 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_23</Name><USR>c:@F@comment_to_html_conversion_23#</USR><Declaration>void comment_to_html_conversion_23()</Declaration><Abstract><Para> <rawHTML><![CDATA[<br>]]></rawHTML><rawHTML><![CDATA[<a href="http://example.com/">]]></rawHTML>Aaa<rawHTML>&lt;/a&gt;</rawHTML></Para></Abstract></Function>]
413// CHECK-NEXT:  CommentAST=[
414// CHECK-NEXT:    (CXComment_FullComment
415// CHECK-NEXT:       (CXComment_Paragraph
416// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
417// CHECK-NEXT:         (CXComment_HTMLStartTag Name=[br])
418// CHECK-NEXT:         (CXComment_HTMLStartTag Name=[a] Attrs: href=http://example.com/)
419// CHECK-NEXT:         (CXComment_Text Text=[Aaa])
420// CHECK-NEXT:         (CXComment_HTMLEndTag Name=[a])))]
421
422/// \verbatim
423/// <a href="http://example.com/">Aaa</a>
424/// <a href='http://example.com/'>Aaa</a>
425/// \endverbatim
426void comment_to_html_conversion_24();
427
428// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_24:{{.*}} FullCommentAsHTML=[<pre> &lt;a href=&quot;http:&#47;&#47;example.com&#47;&quot;&gt;Aaa&lt;&#47;a&gt;\n &lt;a href=&#39;http:&#47;&#47;example.com&#47;&#39;&gt;Aaa&lt;&#47;a&gt;</pre>] 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><Discussion><Verbatim xml:space="preserve" kind="verbatim"> &lt;a href=&quot;http://example.com/">Aaa</a>\n &lt;a href=&apos;http://example.com/'>Aaa</a>;</Verbatim></Discussion></Function>]
429// CHECK-NEXT:  CommentAST=[
430// CHECK-NEXT:    (CXComment_FullComment
431// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
432// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
433// CHECK-NEXT:       (CXComment_VerbatimBlockCommand CommandName=[verbatim]
434// CHECK-NEXT:         (CXComment_VerbatimBlockLine Text=[ <a href="http://example.com/">Aaa</a>])
435// CHECK-NEXT:         (CXComment_VerbatimBlockLine Text=[ <a href='http://example.com/'>Aaa</a>])))]
436
437/// \function foo
438/// \class foo
439/// \method foo
440/// \interface foo
441/// Blah blah.
442void comment_to_html_conversion_25();
443
444// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_25:{{.*}} 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_25</Name><USR>c:@F@comment_to_html_conversion_25#</USR><Declaration>void comment_to_html_conversion_25()</Declaration><Abstract><Para> Blah blah.</Para></Abstract></Function>]
445// CHECK-NEXT:  CommentAST=[
446// CHECK-NEXT:    (CXComment_FullComment
447// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
448// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
449// CHECK-NEXT:       (CXComment_VerbatimLine Text=[ foo])
450// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
451// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
452// CHECK-NEXT:       (CXComment_VerbatimLine Text=[ foo])
453// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
454// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
455// CHECK-NEXT:       (CXComment_VerbatimLine Text=[ foo])
456// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
457// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
458// CHECK-NEXT:       (CXComment_VerbatimLine Text=[ foo])
459// CHECK-NEXT:       (CXComment_Paragraph
460// CHECK-NEXT:         (CXComment_Text Text=[ Blah blah.])))]
461
462/// \unknown
463void comment_to_html_conversion_26();
464
465// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_26:{{.*}} 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_26</Name><USR>c:@F@comment_to_html_conversion_26#</USR><Declaration>void comment_to_html_conversion_26()</Declaration><Abstract><Para> </Para></Abstract></Function>]
466// CHECK-NEXT:  CommentAST=[
467// CHECK-NEXT:    (CXComment_FullComment
468// CHECK-NEXT:       (CXComment_Paragraph
469// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
470// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[unknown] RenderNormal)))]
471
472/// \b Aaa
473void comment_to_html_conversion_27();
474
475// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_27:{{.*}} 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_27</Name><USR>c:@F@comment_to_html_conversion_27#</USR><Declaration>void comment_to_html_conversion_27()</Declaration><Abstract><Para> <bold>Aaa</bold></Para></Abstract></Function>]
476// CHECK-NEXT:  CommentAST=[
477// CHECK-NEXT:    (CXComment_FullComment
478// CHECK-NEXT:       (CXComment_Paragraph
479// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
480// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[b] RenderBold Arg[0]=Aaa)))]
481
482/// \c Aaa \p Bbb
483void comment_to_html_conversion_28();
484
485// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_28:{{.*}} 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_28</Name><USR>c:@F@comment_to_html_conversion_28#</USR><Declaration>void comment_to_html_conversion_28()</Declaration><Abstract><Para> <monospaced>Aaa</monospaced> <monospaced>Bbb</monospaced></Para></Abstract></Function>]
486// CHECK-NEXT:  CommentAST=[
487// CHECK-NEXT:    (CXComment_FullComment
488// CHECK-NEXT:       (CXComment_Paragraph
489// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
490// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[c] RenderMonospaced Arg[0]=Aaa)
491// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
492// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[p] RenderMonospaced Arg[0]=Bbb)))]
493
494/// \a Aaa \e Bbb \em Ccc
495void comment_to_html_conversion_29();
496
497// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_29:{{.*}} 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_29</Name><USR>c:@F@comment_to_html_conversion_29#</USR><Declaration>void comment_to_html_conversion_29()</Declaration><Abstract><Para> <emphasized>Aaa</emphasized> <emphasized>Bbb</emphasized> <emphasized>Ccc</emphasized></Para></Abstract></Function>]
498// CHECK-NEXT:  CommentAST=[
499// CHECK-NEXT:    (CXComment_FullComment
500// CHECK-NEXT:       (CXComment_Paragraph
501// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
502// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=Aaa)
503// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
504// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=Bbb)
505// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
506// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=Ccc)))]
507
508/// \a 1<2 \e 3<4 \em 5<6 \param 7<8 aaa \tparam 9<10 bbb
509void comment_to_html_conversion_30();
510
511// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_30:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <em>1&lt;2</em> <em>3&lt;4</em> <em>5&lt;6</em> </p><dl><dt class="tparam-name-index-invalid">9&lt;10</dt><dd class="tparam-descr-index-invalid"> bbb</dd></dl><dl><dt class="param-name-index-invalid">7&lt;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_30</Name><USR>c:@F@comment_to_html_conversion_30#</USR><Declaration>void comment_to_html_conversion_30()</Declaration><Abstract><Para> <emphasized>1&lt;2</emphasized> <emphasized>3&lt;4</emphasized> <emphasized>5&lt;6</emphasized> </Para></Abstract><TemplateParameters><Parameter><Name>9&lt;10</Name><Discussion><Para> bbb</Para></Discussion></Parameter></TemplateParameters><Parameters><Parameter><Name>7&lt;8</Name><Direction isExplicit="0">in</Direction><Discussion><Para> aaa </Para></Discussion></Parameter></Parameters></Function>]
512// CHECK-NEXT:  CommentAST=[
513// CHECK-NEXT:    (CXComment_FullComment
514// CHECK-NEXT:       (CXComment_Paragraph
515// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
516// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=1<2)
517// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
518// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=3<4)
519// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
520// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=5<6)
521// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
522// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[7<8] ParamIndex=Invalid
523// CHECK-NEXT:         (CXComment_Paragraph
524// CHECK-NEXT:           (CXComment_Text Text=[ aaa ])))
525// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[9<10] ParamPosition=Invalid
526// CHECK-NEXT:         (CXComment_Paragraph
527// CHECK-NEXT:           (CXComment_Text Text=[ bbb]))))]
528
529/// \\ \@ \& \$ \# \< \> \% \" \. \::
530void comment_to_html_conversion_31();
531
532// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_31:{{.*}} FullCommentAsHTML=[<p class="para-brief"> \ @ &amp; $ # &lt; &gt; % &quot; . ::</p>] 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> \ @ &amp; $ # &lt; &gt; % &quot; . ::</Para></Abstract></Function>]
533// CHECK-NEXT:  CommentAST=[
534// CHECK-NEXT:    (CXComment_FullComment
535// CHECK-NEXT:       (CXComment_Paragraph
536// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
537// CHECK-NEXT:         (CXComment_Text Text=[\])
538// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
539// CHECK-NEXT:         (CXComment_Text Text=[@])
540// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
541// CHECK-NEXT:         (CXComment_Text Text=[&])
542// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
543// CHECK-NEXT:         (CXComment_Text Text=[$])
544// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
545// CHECK-NEXT:         (CXComment_Text Text=[#])
546// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
547// CHECK-NEXT:         (CXComment_Text Text=[<])
548// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
549// CHECK-NEXT:         (CXComment_Text Text=[>])
550// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
551// CHECK-NEXT:         (CXComment_Text Text=[%])
552// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
553// CHECK-NEXT:         (CXComment_Text Text=["])
554// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
555// CHECK-NEXT:         (CXComment_Text Text=[.])
556// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
557// CHECK-NEXT:         (CXComment_Text Text=[::])))]
558
559/// &amp; &lt; &gt; &quot;
560void comment_to_html_conversion_32();
561
562// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_32:{{.*}} FullCommentAsHTML=[<p class="para-brief"> &amp; &lt; &gt; &quot;</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> &amp; &lt; &gt; &quot;</Para></Abstract></Function>]
563// CHECK-NEXT:  CommentAST=[
564// CHECK-NEXT:    (CXComment_FullComment
565// CHECK-NEXT:       (CXComment_Paragraph
566// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
567// CHECK-NEXT:         (CXComment_Text Text=[&])
568// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
569// CHECK-NEXT:         (CXComment_Text Text=[<])
570// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
571// CHECK-NEXT:         (CXComment_Text Text=[>])
572// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
573// CHECK-NEXT:         (CXComment_Text Text=["])))]
574
575/// <em>0&lt;i</em>
576void comment_to_html_conversion_33();
577
578// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_33:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <em>0&lt;i</em></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> <rawHTML><![CDATA[<em>]]></rawHTML>0&lt;i<rawHTML>&lt;/em&gt;</rawHTML></Para></Abstract></Function>]
579// CHECK-NEXT:  CommentAST=[
580// CHECK-NEXT:    (CXComment_FullComment
581// CHECK-NEXT:       (CXComment_Paragraph
582// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
583// CHECK-NEXT:         (CXComment_HTMLStartTag Name=[em])
584// CHECK-NEXT:         (CXComment_Text Text=[0])
585// CHECK-NEXT:         (CXComment_Text Text=[<])
586// CHECK-NEXT:         (CXComment_Text Text=[i])
587// CHECK-NEXT:         (CXComment_HTMLEndTag Name=[em])))]
588
589/// Aaa.
590class comment_to_xml_conversion_01 {
591// 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:@C@comment_to_xml_conversion_01</USR><Declaration>class comment_to_xml_conversion_01 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
592
593  /// \param aaa Blah blah.
594  comment_to_xml_conversion_01(int aaa);
595
596// 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:@C@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>]
597
598  /// Aaa.
599  ~comment_to_xml_conversion_01();
600
601// 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:@C@comment_to_xml_conversion_01@F@~comment_to_xml_conversion_01#</USR><Declaration>void ~comment_to_xml_conversion_01()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
602
603  /// \param aaa Blah blah.
604  int comment_to_xml_conversion_02(int aaa);
605
606// 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:@C@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>]
607
608  /// \param aaa Blah blah.
609  static int comment_to_xml_conversion_03(int aaa);
610
611// 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:@C@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>]
612
613  /// Aaa.
614  int comment_to_xml_conversion_04;
615
616// 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:@C@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>]
617
618  /// Aaa.
619  static int comment_to_xml_conversion_05;
620
621// 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:@C@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>]
622
623  /// \param aaa Blah blah.
624  void operator()(int aaa);
625
626// 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:@C@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>]
627
628  /// Aaa.
629  operator bool();
630
631// 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:@C@comment_to_xml_conversion_01@F@operator _Bool#</USR><Declaration>bool operator _Bool()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
632
633  /// Aaa.
634  typedef int comment_to_xml_conversion_06;
635
636// USR is line-dependent here, so filter it with a regexp.
637// 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>]
638
639  /// Aaa.
640  using comment_to_xml_conversion_07 = int;
641
642// 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:@C@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>]
643
644  /// Aaa.
645  template<typename T, typename U>
646  class comment_to_xml_conversion_08 { };
647
648// 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:@C@comment_to_xml_conversion_01@CT&gt;2#T#T@comment_to_xml_conversion_08</USR><Declaration>template &lt;typename T, typename U&gt; class comment_to_xml_conversion_08 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
649
650  /// Aaa.
651  template<typename T>
652  using comment_to_xml_conversion_09 = comment_to_xml_conversion_08<T, int>;
653
654// CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:3: UnexposedDecl=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:@C@comment_to_xml_conversion_01@comment_to_xml_conversion_09</USR><Declaration>template &lt;typename T&gt;\nusing comment_to_xml_conversion_09 = comment_to_xml_conversion_08&lt;T, int&gt;</Declaration><Abstract><Para> Aaa.</Para></Abstract></Typedef>]
655};
656
657/// Aaa.
658template<typename T, typename U>
659void comment_to_xml_conversion_10(T aaa, U bbb);
660
661// 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@&gt;2#T#Tcomment_to_xml_conversion_10#t0.0#t0.1#</USR><Declaration>template &lt;typename T = int, typename U = int&gt;\nvoid comment_to_xml_conversion_10(int aaa, int bbb) template &lt;typename T,\n                                                              typename U&gt;\nvoid comment_to_xml_conversion_10(T aaa, U bbb)</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
662
663/// Aaa.
664template<>
665void comment_to_xml_conversion_10(int aaa, int bbb);
666
667// 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&lt;#I#I&gt;#I#I#</USR><Declaration>void comment_to_xml_conversion_10(int aaa, int bbb)</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
668
669/// Aaa.
670template<typename T, typename U>
671class comment_to_xml_conversion_11 { };
672
673// 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:@CT&gt;2#T#T@comment_to_xml_conversion_11</USR><Declaration>template &lt;typename T = int, typename U = int&gt;\nclass comment_to_xml_conversion_11 {\n}\ntemplate &lt;typename T, typename U&gt; class comment_to_xml_conversion_11 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
674
675/// Aaa.
676template<typename T>
677class comment_to_xml_conversion_11<T, int> { };
678
679// 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:@CP&gt;1#T@comment_to_xml_conversion_11&gt;#t0.0#I</USR><Declaration>class comment_to_xml_conversion_11 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
680
681/// Aaa.
682template<>
683class comment_to_xml_conversion_11<int, int> { };
684
685// 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:@C@comment_to_xml_conversion_11&gt;#I#I</USR><Declaration>class comment_to_xml_conversion_11 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
686
687/// Aaa.
688int comment_to_xml_conversion_12;
689
690// 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>]
691
692/// Aaa.
693namespace comment_to_xml_conversion_13 {
694// 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 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Namespace>]
695
696  /// Aaa.
697  namespace comment_to_xml_conversion_14 {
698// 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 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Namespace>]
699  }
700}
701
702/// Aaa.
703enum comment_to_xml_conversion_15 {
704// 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)?}} {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Enum>]
705
706  /// Aaa.
707  comment_to_xml_conversion_16
708// 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>]
709};
710
711/// Aaa.
712enum class comment_to_xml_conversion_17 {
713// 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 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Enum>]
714
715  /// Aaa.
716  comment_to_xml_conversion_18
717// 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>]
718};
719
720#endif
721
722