xref: /llvm-project/clang/test/Index/comment-to-html-xml-conversion.cpp (revision 2e72dd4a43c2f9d88e8210eb2ce9dbe7c8519c72)
1 // RUN: rm -rf %t
2 // RUN: mkdir %t
3 
4 // This file contains UTF-8 sequences.  Please don't "fix" them!
5 
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
9 
10 // 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
11 // RUN: c-index-test -test-load-tu %t/out.pch all > %t/out.c-index-pch
12 
13 // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-direct
14 // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-pch
15 
16 // Ensure that XML is not invalid
17 // WRONG-NOT: CommentXMLInvalid
18 
19 // RUN: FileCheck %s < %t/out.c-index-direct
20 // RUN: FileCheck %s < %t/out.c-index-pch
21 
22 // XFAIL: valgrind
23 
24 #ifndef HEADER
25 #define HEADER
26 
27 /// Aaa.
28 void comment_to_html_conversion_1();
29 
30 // 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>]
31 // CHECK-NEXT:  CommentAST=[
32 // CHECK-NEXT:    (CXComment_FullComment
33 // CHECK-NEXT:       (CXComment_Paragraph
34 // CHECK-NEXT:         (CXComment_Text Text=[ Aaa.])))]
35 
36 /// \brief Aaa.
37 void comment_to_html_conversion_2();
38 
39 // 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>]
40 // CHECK-NEXT:  CommentAST=[
41 // CHECK-NEXT:    (CXComment_FullComment
42 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
43 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
44 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
45 // CHECK-NEXT:         (CXComment_Paragraph
46 // CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
47 
48 /// \short Aaa.
49 void comment_to_html_conversion_3();
50 
51 // 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>]
52 // CHECK-NEXT:  CommentAST=[
53 // CHECK-NEXT:    (CXComment_FullComment
54 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
55 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
56 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[short]
57 // CHECK-NEXT:         (CXComment_Paragraph
58 // CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
59 
60 /// Aaa.
61 ///
62 /// \brief Bbb.
63 void comment_to_html_conversion_4();
64 
65 // 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>]
66 // CHECK-NEXT:  CommentAST=[
67 // CHECK-NEXT:    (CXComment_FullComment
68 // CHECK-NEXT:       (CXComment_Paragraph
69 // CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
70 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
71 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
72 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
73 // CHECK-NEXT:         (CXComment_Paragraph
74 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
75 
76 /// Aaa.
77 ///
78 /// \brief Bbb.
79 ///
80 /// Ccc.
81 void comment_to_html_conversion_5();
82 
83 // 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>]
84 // CHECK-NEXT:  CommentAST=[
85 // CHECK-NEXT:    (CXComment_FullComment
86 // CHECK-NEXT:       (CXComment_Paragraph
87 // CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
88 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
89 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
90 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
91 // CHECK-NEXT:         (CXComment_Paragraph
92 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb.])))
93 // CHECK-NEXT:       (CXComment_Paragraph
94 // CHECK-NEXT:         (CXComment_Text Text=[ Ccc.])))]
95 
96 /// \brief Aaa.
97 /// \brief Bbb.
98 void comment_to_html_conversion_6();
99 
100 // 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>]
101 // CHECK-NEXT:  CommentAST=[
102 // CHECK-NEXT:    (CXComment_FullComment
103 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
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=[ Aaa.] HasTrailingNewline)
108 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
109 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
110 // CHECK-NEXT:         (CXComment_Paragraph
111 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
112 
113 /// Aaa.
114 ///
115 /// \return Bbb.
116 void comment_to_html_conversion_7();
117 
118 // 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>]
119 // CHECK-NEXT:  CommentAST=[
120 // CHECK-NEXT:    (CXComment_FullComment
121 // CHECK-NEXT:       (CXComment_Paragraph
122 // CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
123 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
124 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
125 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[return]
126 // CHECK-NEXT:         (CXComment_Paragraph
127 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
128 
129 /// Aaa.
130 ///
131 /// \returns Bbb.
132 void comment_to_html_conversion_8();
133 
134 // 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>]
135 // CHECK-NEXT:  CommentAST=[
136 // CHECK-NEXT:    (CXComment_FullComment
137 // CHECK-NEXT:       (CXComment_Paragraph
138 // CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
139 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
140 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
141 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
142 // CHECK-NEXT:         (CXComment_Paragraph
143 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
144 
145 /// Aaa.
146 ///
147 /// \result Bbb.
148 void comment_to_html_conversion_9();
149 
150 // 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>]
151 // CHECK-NEXT:  CommentAST=[
152 // CHECK-NEXT:    (CXComment_FullComment
153 // CHECK-NEXT:       (CXComment_Paragraph
154 // CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
155 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
156 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
157 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[result]
158 // CHECK-NEXT:         (CXComment_Paragraph
159 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
160 
161 /// \returns Aaa.
162 /// \returns Bbb.
163 void comment_to_html_conversion_10();
164 
165 // 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>]
166 // CHECK-NEXT:  CommentAST=[
167 // CHECK-NEXT:    (CXComment_FullComment
168 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
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=[ Aaa.] HasTrailingNewline)
173 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
174 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
175 // CHECK-NEXT:         (CXComment_Paragraph
176 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
177 
178 /// Aaa.
179 ///
180 /// Bbb.
181 ///
182 /// \returns Ccc.
183 void comment_to_html_conversion_11();
184 
185 // 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>]
186 // CHECK-NEXT:  CommentAST=[
187 // CHECK-NEXT:    (CXComment_FullComment
188 // CHECK-NEXT:       (CXComment_Paragraph
189 // CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
190 // CHECK-NEXT:       (CXComment_Paragraph
191 // CHECK-NEXT:         (CXComment_Text Text=[ Bbb.]))
192 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
193 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
194 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
195 // CHECK-NEXT:         (CXComment_Paragraph
196 // CHECK-NEXT:           (CXComment_Text Text=[ Ccc.]))))]
197 
198 /// \param
199 void comment_to_html_conversion_12(int x1);
200 
201 // 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>]
202 // CHECK-NEXT:  CommentAST=[
203 // CHECK-NEXT:    (CXComment_FullComment
204 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
205 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
206 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[] ParamIndex=Invalid
207 // CHECK-NEXT:         (CXComment_Paragraph IsWhitespace)))]
208 
209 /// \param x1 Aaa.
210 void comment_to_html_conversion_13(int x1);
211 
212 // 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>]
213 // CHECK-NEXT:  CommentAST=[
214 // CHECK-NEXT:    (CXComment_FullComment
215 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
216 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
217 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
218 // CHECK-NEXT:         (CXComment_Paragraph
219 // CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
220 
221 /// \param zzz Aaa.
222 void comment_to_html_conversion_14(int x1);
223 
224 // 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>]
225 // CHECK-NEXT:  CommentAST=[
226 // CHECK-NEXT:    (CXComment_FullComment
227 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
228 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
229 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[zzz] ParamIndex=Invalid
230 // CHECK-NEXT:         (CXComment_Paragraph
231 // CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
232 
233 /// \param x2 Bbb.
234 /// \param x1 Aaa.
235 void comment_to_html_conversion_15(int x1, int x2);
236 
237 // 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>]
238 // CHECK-NEXT:  CommentAST=[
239 // CHECK-NEXT:    (CXComment_FullComment
240 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
241 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
242 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
243 // CHECK-NEXT:         (CXComment_Paragraph
244 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
245 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
246 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
247 // CHECK-NEXT:         (CXComment_Paragraph
248 // CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
249 
250 /// \param x2 Bbb.
251 /// \param zzz Aaa.
252 /// \param x1 Aaa.
253 void comment_to_html_conversion_16(int x1, int x2);
254 
255 // 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>]
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=[x2] ParamIndex=1
261 // CHECK-NEXT:         (CXComment_Paragraph
262 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
263 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
264 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[zzz] ParamIndex=Invalid
265 // CHECK-NEXT:         (CXComment_Paragraph
266 // CHECK-NEXT:           (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
267 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
268 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
269 // CHECK-NEXT:         (CXComment_Paragraph
270 // CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
271 
272 /// \tparam
273 /// \param aaa Blah blah
274 template<typename T>
275 void comment_to_html_conversion_17(T aaa);
276 
277 // 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>]
278 // CHECK-NEXT:  CommentAST=[
279 // CHECK-NEXT:    (CXComment_FullComment
280 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
281 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
282 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[] ParamPosition=Invalid
283 // CHECK-NEXT:         (CXComment_Paragraph IsWhitespace
284 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
285 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0
286 // CHECK-NEXT:         (CXComment_Paragraph
287 // CHECK-NEXT:           (CXComment_Text Text=[ Blah blah]))))]
288 
289 /// \tparam T
290 /// \param aaa Blah blah
291 template<typename T>
292 void comment_to_html_conversion_18(T aaa);
293 
294 // 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>]
295 // CHECK-NEXT:  CommentAST=[
296 // CHECK-NEXT:    (CXComment_FullComment
297 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
298 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
299 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T] ParamPosition={0}
300 // CHECK-NEXT:         (CXComment_Paragraph IsWhitespace
301 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
302 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0
303 // CHECK-NEXT:         (CXComment_Paragraph
304 // CHECK-NEXT:           (CXComment_Text Text=[ Blah blah]))))]
305 
306 /// \tparam T2 Bbb
307 /// \tparam T1 Aaa
308 template<typename T1, typename T2>
309 void comment_to_html_conversion_19(T1 aaa, T2 bbb);
310 
311 // 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>]
312 // CHECK-NEXT:  CommentAST=[
313 // CHECK-NEXT:    (CXComment_FullComment
314 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
315 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
316 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T2] ParamPosition={1}
317 // CHECK-NEXT:         (CXComment_Paragraph
318 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb] HasTrailingNewline)
319 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
320 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T1] ParamPosition={0}
321 // CHECK-NEXT:         (CXComment_Paragraph
322 // CHECK-NEXT:           (CXComment_Text Text=[ Aaa]))))]
323 
324 /// \tparam T2 Bbb
325 /// \tparam U Zzz
326 /// \tparam V Ccc
327 /// \tparam T1 Aaa
328 template<typename T1, typename T2, int V>
329 void comment_to_html_conversion_20(T1 aaa, T2 bbb);
330 
331 // 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>]
332 // CHECK-NEXT:  CommentAST=[
333 // CHECK-NEXT:    (CXComment_FullComment
334 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
335 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
336 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T2] ParamPosition={1}
337 // CHECK-NEXT:         (CXComment_Paragraph
338 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb] HasTrailingNewline)
339 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
340 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[U] ParamPosition=Invalid
341 // CHECK-NEXT:         (CXComment_Paragraph
342 // CHECK-NEXT:           (CXComment_Text Text=[ Zzz] HasTrailingNewline)
343 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
344 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[V] ParamPosition={2}
345 // CHECK-NEXT:         (CXComment_Paragraph
346 // CHECK-NEXT:           (CXComment_Text Text=[ Ccc] HasTrailingNewline)
347 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
348 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T1] ParamPosition={0}
349 // CHECK-NEXT:         (CXComment_Paragraph
350 // CHECK-NEXT:           (CXComment_Text Text=[ Aaa]))))]
351 
352 /// \tparam TTT Ddd
353 /// \tparam C Ccc
354 /// \tparam T Aaa
355 /// \tparam TT Bbb
356 template<template<template<typename T> class TT, class C> class TTT>
357 void comment_to_html_conversion_21();
358 
359 // 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, class C&gt; class TTT&gt;\nvoid 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>]
360 // CHECK-NEXT:  CommentAST=[
361 // CHECK-NEXT:    (CXComment_FullComment
362 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
363 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
364 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[TTT] ParamPosition={0}
365 // CHECK-NEXT:         (CXComment_Paragraph
366 // CHECK-NEXT:           (CXComment_Text Text=[ Ddd] HasTrailingNewline)
367 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
368 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[C] ParamPosition={0, 1}
369 // CHECK-NEXT:         (CXComment_Paragraph
370 // CHECK-NEXT:           (CXComment_Text Text=[ Ccc] HasTrailingNewline)
371 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
372 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T] ParamPosition={0, 0, 0}
373 // CHECK-NEXT:         (CXComment_Paragraph
374 // CHECK-NEXT:           (CXComment_Text Text=[ Aaa] HasTrailingNewline)
375 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
376 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[TT] ParamPosition={0, 0}
377 // CHECK-NEXT:         (CXComment_Paragraph
378 // CHECK-NEXT:           (CXComment_Text Text=[ Bbb]))))]
379 
380 /// \brief Aaa.
381 ///
382 /// Bbb.
383 ///
384 /// \param x2 Ddd.
385 /// \param x1 Ccc.
386 /// \returns Eee.
387 void comment_to_html_conversion_22(int x1, int x2);
388 
389 // 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>]
390 // CHECK-NEXT:  CommentAST=[
391 // CHECK-NEXT:    (CXComment_FullComment
392 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
393 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
394 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
395 // CHECK-NEXT:         (CXComment_Paragraph
396 // CHECK-NEXT:           (CXComment_Text Text=[ Aaa.])))
397 // CHECK-NEXT:       (CXComment_Paragraph
398 // CHECK-NEXT:         (CXComment_Text Text=[ Bbb.]))
399 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
400 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
401 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
402 // CHECK-NEXT:         (CXComment_Paragraph
403 // CHECK-NEXT:           (CXComment_Text Text=[ Ddd.] HasTrailingNewline)
404 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
405 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
406 // CHECK-NEXT:         (CXComment_Paragraph
407 // CHECK-NEXT:           (CXComment_Text Text=[ Ccc.] HasTrailingNewline)
408 // CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
409 // CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
410 // CHECK-NEXT:         (CXComment_Paragraph
411 // CHECK-NEXT:           (CXComment_Text Text=[ Eee.]))))]
412 
413 /// <br><a href="http://example.com/">Aaa</a>
414 void comment_to_html_conversion_23();
415 
416 // 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>]
417 // CHECK-NEXT:  CommentAST=[
418 // CHECK-NEXT:    (CXComment_FullComment
419 // CHECK-NEXT:       (CXComment_Paragraph
420 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
421 // CHECK-NEXT:         (CXComment_HTMLStartTag Name=[br])
422 // CHECK-NEXT:         (CXComment_HTMLStartTag Name=[a] Attrs: href=http://example.com/)
423 // CHECK-NEXT:         (CXComment_Text Text=[Aaa])
424 // CHECK-NEXT:         (CXComment_HTMLEndTag Name=[a])))]
425 
426 /// \verbatim
427 /// <a href="http://example.com/">Aaa</a>
428 /// <a href='http://example.com/'>Aaa</a>
429 /// \endverbatim
430 void comment_to_html_conversion_24();
431 
432 // 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/&quot;&gt;Aaa&lt;/a&gt;\n &lt;a href=&apos;http://example.com/&apos;&gt;Aaa&lt;/a&gt;</Verbatim></Discussion></Function>]
433 // CHECK-NEXT:  CommentAST=[
434 // CHECK-NEXT:    (CXComment_FullComment
435 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
436 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
437 // CHECK-NEXT:       (CXComment_VerbatimBlockCommand CommandName=[verbatim]
438 // CHECK-NEXT:         (CXComment_VerbatimBlockLine Text=[ <a href="http://example.com/">Aaa</a>])
439 // CHECK-NEXT:         (CXComment_VerbatimBlockLine Text=[ <a href='http://example.com/'>Aaa</a>])))]
440 
441 /// \function foo
442 /// \class foo
443 /// \method foo
444 /// \interface foo
445 /// Blah blah.
446 void comment_to_html_conversion_25();
447 
448 // 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>]
449 // CHECK-NEXT:  CommentAST=[
450 // CHECK-NEXT:    (CXComment_FullComment
451 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
452 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
453 // CHECK-NEXT:       (CXComment_VerbatimLine Text=[ foo])
454 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
455 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
456 // CHECK-NEXT:       (CXComment_VerbatimLine Text=[ foo])
457 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
458 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
459 // CHECK-NEXT:       (CXComment_VerbatimLine Text=[ foo])
460 // CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
461 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
462 // CHECK-NEXT:       (CXComment_VerbatimLine Text=[ foo])
463 // CHECK-NEXT:       (CXComment_Paragraph
464 // CHECK-NEXT:         (CXComment_Text Text=[ Blah blah.])))]
465 
466 /// \unknown
467 void comment_to_html_conversion_26();
468 
469 // 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>]
470 // CHECK-NEXT:  CommentAST=[
471 // CHECK-NEXT:    (CXComment_FullComment
472 // CHECK-NEXT:       (CXComment_Paragraph
473 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
474 // CHECK-NEXT:         (CXComment_InlineCommand CommandName=[unknown] RenderNormal)))]
475 
476 /// \b Aaa
477 void comment_to_html_conversion_27();
478 
479 // 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>]
480 // CHECK-NEXT:  CommentAST=[
481 // CHECK-NEXT:    (CXComment_FullComment
482 // CHECK-NEXT:       (CXComment_Paragraph
483 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
484 // CHECK-NEXT:         (CXComment_InlineCommand CommandName=[b] RenderBold Arg[0]=Aaa)))]
485 
486 /// \c Aaa \p Bbb
487 void comment_to_html_conversion_28();
488 
489 // 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>]
490 // CHECK-NEXT:  CommentAST=[
491 // CHECK-NEXT:    (CXComment_FullComment
492 // CHECK-NEXT:       (CXComment_Paragraph
493 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
494 // CHECK-NEXT:         (CXComment_InlineCommand CommandName=[c] RenderMonospaced Arg[0]=Aaa)
495 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
496 // CHECK-NEXT:         (CXComment_InlineCommand CommandName=[p] RenderMonospaced Arg[0]=Bbb)))]
497 
498 /// \a Aaa \e Bbb \em Ccc
499 void comment_to_html_conversion_29();
500 
501 // 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>]
502 // CHECK-NEXT:  CommentAST=[
503 // CHECK-NEXT:    (CXComment_FullComment
504 // CHECK-NEXT:       (CXComment_Paragraph
505 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
506 // CHECK-NEXT:         (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=Aaa)
507 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
508 // CHECK-NEXT:         (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=Bbb)
509 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
510 // CHECK-NEXT:         (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=Ccc)))]
511 
512 /// \a 1<2 \e 3<4 \em 5<6 \param 7<8 aaa \tparam 9<10 bbb
513 void comment_to_html_conversion_30();
514 
515 // 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>]
516 // CHECK-NEXT:  CommentAST=[
517 // CHECK-NEXT:    (CXComment_FullComment
518 // CHECK-NEXT:       (CXComment_Paragraph
519 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
520 // CHECK-NEXT:         (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=1<2)
521 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
522 // CHECK-NEXT:         (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=3<4)
523 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
524 // CHECK-NEXT:         (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=5<6)
525 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
526 // CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[7<8] ParamIndex=Invalid
527 // CHECK-NEXT:         (CXComment_Paragraph
528 // CHECK-NEXT:           (CXComment_Text Text=[ aaa ])))
529 // CHECK-NEXT:       (CXComment_TParamCommand ParamName=[9<10] ParamPosition=Invalid
530 // CHECK-NEXT:         (CXComment_Paragraph
531 // CHECK-NEXT:           (CXComment_Text Text=[ bbb]))))]
532 
533 /// \\ \@ \& \$ \# \< \> \% \" \. \::
534 void comment_to_html_conversion_31();
535 
536 // 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>]
537 // CHECK-NEXT:  CommentAST=[
538 // CHECK-NEXT:    (CXComment_FullComment
539 // CHECK-NEXT:       (CXComment_Paragraph
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 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
559 // CHECK-NEXT:         (CXComment_Text Text=[.])
560 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
561 // CHECK-NEXT:         (CXComment_Text Text=[::])))]
562 
563 /// &amp; &lt; &gt; &quot; &apos; &#109;&#101;&#111;&#119; &#x6d;&#x65;&#x6F;&#X77;
564 void comment_to_html_conversion_32();
565 
566 // 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; &#39; meow meow</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; &apos; meow  meow</Para></Abstract></Function>]
567 // CHECK-NEXT:  CommentAST=[
568 // CHECK-NEXT:    (CXComment_FullComment
569 // CHECK-NEXT:       (CXComment_Paragraph
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 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
575 // CHECK-NEXT:         (CXComment_Text Text=[>])
576 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
577 // CHECK-NEXT:         (CXComment_Text Text=["])
578 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
579 // CHECK-NEXT:         (CXComment_Text Text=['])
580 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
581 // CHECK-NEXT:         (CXComment_Text Text=[m])
582 // CHECK-NEXT:         (CXComment_Text Text=[e])
583 // CHECK-NEXT:         (CXComment_Text Text=[o])
584 // CHECK-NEXT:         (CXComment_Text Text=[w])
585 // CHECK-NEXT:         (CXComment_Text Text=[  ] IsWhitespace)
586 // CHECK-NEXT:         (CXComment_Text Text=[m])
587 // CHECK-NEXT:         (CXComment_Text Text=[e])
588 // CHECK-NEXT:         (CXComment_Text Text=[o])
589 // CHECK-NEXT:         (CXComment_Text Text=[w])))]
590 
591 /// <em>0&lt;i</em>
592 void comment_to_html_conversion_33();
593 
594 // 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>]
595 // CHECK-NEXT:  CommentAST=[
596 // CHECK-NEXT:    (CXComment_FullComment
597 // CHECK-NEXT:       (CXComment_Paragraph
598 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
599 // CHECK-NEXT:         (CXComment_HTMLStartTag Name=[em])
600 // CHECK-NEXT:         (CXComment_Text Text=[0])
601 // CHECK-NEXT:         (CXComment_Text Text=[<])
602 // CHECK-NEXT:         (CXComment_Text Text=[i])
603 // CHECK-NEXT:         (CXComment_HTMLEndTag Name=[em])))]
604 
605 // rdar://12392215
606 /// &copy; the copyright symbol
607 /// &trade; the trade mark symbol
608 /// &reg; the registered trade mark symbol
609 /// &nbsp; a non breakable space.
610 /// &Delta; Greek letter Delta Δ.
611 /// &Gamma; Greek letter Gamma Γ.
612 void comment_to_html_conversion_34();
613 
614 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_34:{{.*}} 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_34</Name><USR>c:@F@comment_to_html_conversion_34#</USR><Declaration>void comment_to_html_conversion_34()</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>]
615 // CHECK-NEXT:  CommentAST=[
616 // CHECK-NEXT:    (CXComment_FullComment
617 // CHECK-NEXT:       (CXComment_Paragraph
618 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
619 // CHECK-NEXT:         (CXComment_Text Text=[©])
620 // CHECK-NEXT:         (CXComment_Text Text=[ the copyright symbol] HasTrailingNewline)
621 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
622 // CHECK-NEXT:         (CXComment_Text Text=[™])
623 // CHECK-NEXT:         (CXComment_Text Text=[ the trade mark symbol] HasTrailingNewline)
624 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
625 // CHECK-NEXT:         (CXComment_Text Text=[®])
626 // CHECK-NEXT:         (CXComment_Text Text=[ the registered trade mark symbol] HasTrailingNewline)
627 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
628 // CHECK-NEXT:         (CXComment_Text Text=[ ])
629 // CHECK-NEXT:         (CXComment_Text Text=[ a non breakable space.] HasTrailingNewline)
630 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
631 // CHECK-NEXT:         (CXComment_Text Text=[Δ])
632 // CHECK-NEXT:         (CXComment_Text Text=[ Greek letter Delta Δ.] HasTrailingNewline)
633 // CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
634 // CHECK-NEXT:         (CXComment_Text Text=[Γ])
635 // CHECK-NEXT:         (CXComment_Text Text=[ Greek letter Gamma Γ.])))]
636 
637 
638 /// Aaa.
639 class comment_to_xml_conversion_01 {
640 // 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 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
641 
642   /// \param aaa Blah blah.
643   comment_to_xml_conversion_01(int aaa);
644 
645 // 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>]
646 
647   /// Aaa.
648   ~comment_to_xml_conversion_01();
649 
650 // 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>]
651 
652   /// \param aaa Blah blah.
653   int comment_to_xml_conversion_02(int aaa);
654 
655 // 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>]
656 
657   /// \param aaa Blah blah.
658   static int comment_to_xml_conversion_03(int aaa);
659 
660 // 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>]
661 
662   /// Aaa.
663   int comment_to_xml_conversion_04;
664 
665 // 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>]
666 
667   /// Aaa.
668   static int comment_to_xml_conversion_05;
669 
670 // 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>]
671 
672   /// \param aaa Blah blah.
673   void operator()(int aaa);
674 
675 // 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>]
676 
677   /// Aaa.
678   operator bool();
679 
680 // 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>]
681 
682   /// Aaa.
683   typedef int comment_to_xml_conversion_06;
684 
685 // USR is line-dependent here, so filter it with a regexp.
686 // 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>]
687 
688   /// Aaa.
689   using comment_to_xml_conversion_07 = int;
690 
691 // 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>]
692 
693   /// Aaa.
694   template<typename T, typename U>
695   class comment_to_xml_conversion_08 { };
696 
697 // 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 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
698 
699   /// Aaa.
700   template<typename T>
701   using comment_to_xml_conversion_09 = comment_to_xml_conversion_08<T, int>;
702 
703 // 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>]
704 };
705 
706 /// Aaa.
707 template<typename T, typename U>
708 void comment_to_xml_conversion_10(T aaa, U bbb);
709 
710 // 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, typename U&gt;\nvoid comment_to_xml_conversion_10(T aaa, U bbb)</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
711 
712 /// Aaa.
713 template<>
714 void comment_to_xml_conversion_10(int aaa, int bbb);
715 
716 // 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>]
717 
718 /// Aaa.
719 template<typename T, typename U>
720 class comment_to_xml_conversion_11 { };
721 
722 // 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, typename U&gt; class comment_to_xml_conversion_11 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
723 
724 /// Aaa.
725 template<typename T>
726 class comment_to_xml_conversion_11<T, int> { };
727 
728 // 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 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
729 
730 /// Aaa.
731 template<>
732 class comment_to_xml_conversion_11<int, int> { };
733 
734 // 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 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
735 
736 /// Aaa.
737 int comment_to_xml_conversion_12;
738 
739 // 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>]
740 
741 /// Aaa.
742 namespace comment_to_xml_conversion_13 {
743 // 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>]
744 
745   /// Aaa.
746   namespace comment_to_xml_conversion_14 {
747 // 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>]
748   }
749 }
750 
751 /// Aaa.
752 enum comment_to_xml_conversion_15 {
753 // 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>]
754 
755   /// Aaa.
756   comment_to_xml_conversion_16
757 // 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>]
758 };
759 
760 /// Aaa.
761 enum class comment_to_xml_conversion_17 {
762 // 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>]
763 
764   /// Aaa.
765   comment_to_xml_conversion_18
766 // 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>]
767 };
768 
769 /// Aaa.
770 /// \todo Bbb.
771 void comment_to_xml_conversion_todo_1();
772 // 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>]
773 
774 /// Aaa.
775 /// \todo Bbb.
776 ///
777 /// Ccc.
778 void comment_to_xml_conversion_todo_2();
779 // 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>]
780 
781 /// Aaa.
782 /// \todo Bbb.
783 ///
784 /// Ccc.
785 /// \todo Ddd.
786 void comment_to_xml_conversion_todo_3();
787 // 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>]
788 
789 /// Aaa.
790 /// \todo Bbb.
791 /// \todo Ccc.
792 void comment_to_xml_conversion_todo_4();
793 // 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>]
794 
795 #endif
796 
797