annotate-comments.cpp revision f303d4cb10648ac9c2080ae7c9dd507ba615e3a7
1// Run lines are sensitive to line numbers and come below the code.
2
3#ifndef HEADER
4#define HEADER
5
6// Not a Doxygen comment.  NOT_DOXYGEN
7void notdoxy1(void);
8
9/* Not a Doxygen comment.  NOT_DOXYGEN */
10void notdoxy2(void);
11
12/*/ Not a Doxygen comment.  NOT_DOXYGEN */
13void notdoxy3(void);
14
15/** Doxygen comment.  isdoxy4 IS_DOXYGEN_SINGLE */
16void isdoxy4(void);
17
18/**
19 * Doxygen comment.  isdoxy5 IS_DOXYGEN_SINGLE */
20void isdoxy5(void);
21
22/**
23 * Doxygen comment.
24 * isdoxy6 IS_DOXYGEN_SINGLE */
25void isdoxy6(void);
26
27/**
28 * Doxygen comment.
29 * isdoxy7 IS_DOXYGEN_SINGLE
30 */
31void isdoxy7(void);
32
33/*! Doxygen comment.  isdoxy8 IS_DOXYGEN_SINGLE */
34void isdoxy8(void);
35
36/// Doxygen comment.  isdoxy9 IS_DOXYGEN_SINGLE
37void isdoxy9(void);
38
39// Not a Doxygen comment.  NOT_DOXYGEN
40/// Doxygen comment.  isdoxy10 IS_DOXYGEN_SINGLE
41void isdoxy10(void);
42
43/// Doxygen comment.  isdoxy11 IS_DOXYGEN_SINGLE
44// Not a Doxygen comment.  NOT_DOXYGEN
45void isdoxy11(void);
46
47/** Doxygen comment.  isdoxy12  IS_DOXYGEN_SINGLE */
48/* Not a Doxygen comment.  NOT_DOXYGEN */
49void isdoxy12(void);
50
51/// Doxygen comment.  isdoxy13 IS_DOXYGEN_START
52/// Doxygen comment.  IS_DOXYGEN_END
53void isdoxy13(void);
54
55/// Doxygen comment.  isdoxy14 IS_DOXYGEN_START
56/// Blah-blah-blah.
57/// Doxygen comment.  IS_DOXYGEN_END
58void isdoxy14(void);
59
60/// Doxygen comment.  isdoxy15 IS_DOXYGEN_START
61/** Blah-blah-blah */
62/// Doxygen comment.  IS_DOXYGEN_END
63void isdoxy15(void);
64
65/** Blah-blah-blah. isdoxy16 IS_DOXYGEN_START *//** Blah */
66/// Doxygen comment.  IS_DOXYGEN_END
67void isdoxy16(void);
68
69/// isdoxy17 IS_DOXYGEN_START
70// Not a Doxygen comment, but still picked up.
71/// IS_DOXYGEN_END
72void isdoxy17(void);
73
74unsigned
75// NOT_DOXYGEN
76/// isdoxy18 IS_DOXYGEN_START
77// Not a Doxygen comment, but still picked up.
78/// IS_DOXYGEN_END
79// NOT_DOXYGEN
80int isdoxy18(void);
81
82//! It all starts here. isdoxy19 IS_DOXYGEN_START
83/*! It's a little odd to continue line this,
84 *
85 * but we need more multi-line comments. */
86/// This comment comes before my other comments
87/** This is a block comment that is associated with the function f. It
88 *  runs for three lines.  IS_DOXYGEN_END
89 */
90void isdoxy19(int, int);
91
92// NOT IN THE COMMENT  NOT_DOXYGEN
93/// This is a BCPL comment.  isdoxy20 IS_DOXYGEN_START
94/// It has only two lines.
95/** But there are other blocks that are part of the comment, too.  IS_DOXYGEN_END */
96void isdoxy20(int);
97
98void notdoxy21(int); ///< This is a member comment.  isdoxy21 IS_DOXYGEN_NOT_ATTACHED
99
100void notdoxy22(int); /*!< This is a member comment.  isdoxy22 IS_DOXYGEN_NOT_ATTACHED */
101
102void notdoxy23(int); /**< This is a member comment.  isdoxy23 IS_DOXYGEN_NOT_ATTACHED */
103
104void notdoxy24(int); // NOT_DOXYGEN
105
106/// IS_DOXYGEN_SINGLE
107struct isdoxy25 {
108};
109
110struct test26 {
111  /// IS_DOXYGEN_SINGLE
112  int isdoxy26;
113};
114
115struct test27 {
116  int isdoxy27; ///< IS_DOXYGEN_SINGLE
117};
118
119struct notdoxy28 {
120}; ///< IS_DOXYGEN_NOT_ATTACHED
121
122/// IS_DOXYGEN_SINGLE
123enum isdoxy29 {
124};
125
126enum notdoxy30 {
127}; ///< IS_DOXYGEN_NOT_ATTACHED
128
129/// IS_DOXYGEN_SINGLE
130namespace isdoxy31 {
131};
132
133namespace notdoxy32 {
134}; ///< IS_DOXYGEN_NOT_ATTACHED
135
136class test33 {
137                ///< IS_DOXYGEN_NOT_ATTACHED
138  int isdoxy33; ///< isdoxy33 IS_DOXYGEN_SINGLE
139  int isdoxy34; ///< isdoxy34 IS_DOXYGEN_SINGLE
140
141                ///< IS_DOXYGEN_NOT_ATTACHED
142  int isdoxy35, ///< isdoxy35 IS_DOXYGEN_SINGLE
143      isdoxy36; ///< isdoxy36 IS_DOXYGEN_SINGLE
144
145                ///< IS_DOXYGEN_NOT_ATTACHED
146  int isdoxy37  ///< isdoxy37 IS_DOXYGEN_SINGLE
147    , isdoxy38  ///< isdoxy38 IS_DOXYGEN_SINGLE
148    , isdoxy39; ///< isdoxy39 IS_DOXYGEN_SINGLE
149};
150
151// Verified that Doxygen attaches these.
152
153/// isdoxy40 IS_DOXYGEN_SINGLE
154// NOT_DOXYGEN
155void isdoxy40(int);
156
157unsigned
158/// isdoxy41 IS_DOXYGEN_SINGLE
159// NOT_DOXYGEN
160int isdoxy41(int);
161
162class test42 {
163  int isdoxy42; /* NOT_DOXYGEN */ ///< isdoxy42 IS_DOXYGEN_SINGLE
164};
165
166/// IS_DOXYGEN_START
167/// It is fine to have a command at the end of comment.
168///\brief
169///
170/// Some malformed command.
171/* \*/
172/**
173 * \brief Aaa aaaaaaa aaaa.
174 * IS_DOXYGEN_END
175 */
176void isdoxy43(void);
177
178/// IS_DOXYGEN_START Aaa bbb
179/// ccc.
180///
181/// Ddd eee.
182/// Fff.
183///
184/// Ggg. IS_DOXYGEN_END
185void isdoxy44(void);
186
187/// IS_DOXYGEN_START Aaa bbb
188/// ccc.
189///
190/// \brief
191/// Ddd eee.
192/// Fff.
193///
194/// Ggg. IS_DOXYGEN_END
195void isdoxy45(void);
196
197/// IS_DOXYGEN_START Aaa bbb
198/// ccc.
199///
200/// \short
201/// Ddd eee.
202/// Fff.
203///
204/// Ggg. IS_DOXYGEN_END
205void isdoxy46(void);
206
207/// IS_DOXYGEN_NOT_ATTACHED
208#define FOO
209void notdoxy47(void);
210
211/// IS_DOXYGEN_START Aaa bbb
212/// \param ccc
213/// \returns ddd IS_DOXYGEN_END
214void isdoxy48(int);
215
216/// \brief IS_DOXYGEN_START Aaa
217/// \returns bbb IS_DOXYGEN_END
218void isdoxy49(void);
219
220/// \param ccc IS_DOXYGEN_START
221/// \returns ddd IS_DOXYGEN_END
222void isdoxy50(int);
223
224/// Aaa.
225void comment_to_html_conversion_1();
226
227/// \brief Aaa.
228void comment_to_html_conversion_2();
229
230/// \short Aaa.
231void comment_to_html_conversion_3();
232
233/// Aaa.
234///
235/// \brief Bbb.
236void comment_to_html_conversion_4();
237
238/// Aaa.
239///
240/// \brief Bbb.
241///
242/// Ccc.
243void comment_to_html_conversion_5();
244
245/// \brief Aaa.
246/// \brief Bbb.
247void comment_to_html_conversion_6();
248
249/// Aaa.
250///
251/// \return Bbb.
252void comment_to_html_conversion_7();
253
254/// Aaa.
255///
256/// \returns Bbb.
257void comment_to_html_conversion_8();
258
259/// Aaa.
260///
261/// \result Bbb.
262void comment_to_html_conversion_9();
263
264/// \returns Aaa.
265/// \returns Bbb.
266void comment_to_html_conversion_10();
267
268/// Aaa.
269///
270/// Bbb.
271///
272/// \returns Ccc.
273void comment_to_html_conversion_11();
274
275/// \param
276void comment_to_html_conversion_12(int x1);
277
278/// \param x1 Aaa.
279void comment_to_html_conversion_13(int x1);
280
281/// \param zzz Aaa.
282void comment_to_html_conversion_14(int x1);
283
284/// \param x2 Bbb.
285/// \param x1 Aaa.
286void comment_to_html_conversion_15(int x1, int x2);
287
288/// \param x2 Bbb.
289/// \param zzz Aaa.
290/// \param x1 Aaa.
291void comment_to_html_conversion_16(int x1, int x2);
292
293/// \tparam
294/// \param aaa Blah blah
295template<typename T>
296void comment_to_html_conversion_17(T aaa);
297
298/// \tparam T
299/// \param aaa Blah blah
300template<typename T>
301void comment_to_html_conversion_18(T aaa);
302
303/// \tparam T2 Bbb
304/// \tparam T1 Aaa
305template<typename T1, typename T2>
306void comment_to_html_conversion_19(T1 aaa, T2 bbb);
307
308/// \tparam T2 Bbb
309/// \tparam U Zzz
310/// \tparam V Ccc
311/// \tparam T1 Aaa
312template<typename T1, typename T2, int V>
313void comment_to_html_conversion_20(T1 aaa, T2 bbb);
314
315/// \tparam TTT Ddd
316/// \tparam C Ccc
317/// \tparam T Aaa
318/// \tparam TT Bbb
319template<template<template<typename T> class TT, class C> class TTT>
320void comment_to_html_conversion_21();
321
322/// \brief Aaa.
323///
324/// Bbb.
325///
326/// \param x2 Ddd.
327/// \param x1 Ccc.
328/// \returns Eee.
329void comment_to_html_conversion_22(int x1, int x2);
330
331/// <br><a href="http://example.com/">Aaa</a>
332void comment_to_html_conversion_23();
333
334/// \verbatim
335/// <a href="http://example.com/">Aaa</a>
336/// <a href='http://example.com/'>Aaa</a>
337/// \endverbatim
338void comment_to_html_conversion_24();
339
340/// \b Aaa
341void comment_to_html_conversion_25();
342
343/// \c Aaa \p Bbb
344void comment_to_html_conversion_26();
345
346/// \a Aaa \e Bbb \em Ccc
347void comment_to_html_conversion_27();
348
349/// \a 1<2 \e 3<4 \em 5<6 \param 7<8 aaa \tparam 9<10 bbb
350void comment_to_html_conversion_28();
351
352/// \\ \@ \& \$ \# \< \> \% \" \. \::
353void comment_to_html_conversion_29();
354
355/// &amp; &lt; &gt; &quot;
356void comment_to_html_conversion_30();
357
358/// <em>0&lt;i</em>
359void comment_to_html_conversion_31();
360
361/// Aaa.
362class comment_to_xml_conversion_01 {
363  /// \param aaa Blah blah.
364  comment_to_xml_conversion_01(int aaa);
365
366  /// Aaa.
367  ~comment_to_xml_conversion_01();
368
369  /// \param aaa Blah blah.
370  int comment_to_xml_conversion_02(int aaa);
371
372  /// \param aaa Blah blah.
373  static int comment_to_xml_conversion_03(int aaa);
374
375  /// Aaa.
376  int comment_to_xml_conversion_04;
377
378  /// Aaa.
379  static int comment_to_xml_conversion_05;
380
381  /// \param aaa Blah blah.
382  void operator()(int aaa);
383
384  /// Aaa.
385  operator bool();
386
387  /// Aaa.
388  typedef int comment_to_xml_conversion_06;
389
390  /// Aaa.
391  using comment_to_xml_conversion_07 = int;
392
393  template<typename T, typename U>
394  class comment_to_xml_conversion_08 { };
395
396  /// Aaa.
397  template<typename T>
398  using comment_to_xml_conversion_09 = comment_to_xml_conversion_08<T, int>;
399};
400
401/// Aaa.
402template<typename T, typename U>
403void comment_to_xml_conversion_10(T aaa, U bbb);
404
405/// Aaa.
406template<>
407void comment_to_xml_conversion_10(int aaa, int bbb);
408
409/// Aaa.
410template<typename T, typename U>
411class comment_to_xml_conversion_11 { };
412
413/// Aaa.
414template<typename T>
415class comment_to_xml_conversion_11<T, int> { };
416
417/// Aaa.
418template<>
419class comment_to_xml_conversion_11<int, int> { };
420
421/// Aaa.
422int comment_to_xml_conversion_12;
423
424/// Aaa.
425namespace comment_to_xml_conversion_13 {
426  /// Aaa.
427  namespace comment_to_xml_conversion_14 {
428  }
429}
430
431#endif
432
433// RUN: rm -rf %t
434// RUN: mkdir %t
435// RUN: %clang_cc1 -x c++ -std=c++11 -emit-pch -o %t/out.pch %s
436// RUN: %clang_cc1 -x c++ -std=c++11 -include-pch %t/out.pch -fsyntax-only %s
437
438// 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
439// RUN: c-index-test -test-load-tu %t/out.pch all > %t/out.c-index-pch
440
441// RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-direct
442// RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-pch
443
444// Declarations without Doxygen comments should not pick up some Doxygen comments.
445// WRONG-NOT: notdoxy{{.*}}Comment=
446// WRONG-NOT: test{{.*}}Comment=
447
448// Non-Doxygen comments should not be attached to anything.
449// WRONG-NOT: NOT_DOXYGEN
450
451// Some Doxygen comments are not attached to anything.
452// WRONG-NOT: IS_DOXYGEN_NOT_ATTACHED
453
454// Ensure we don't pick up extra comments.
455// WRONG-NOT: IS_DOXYGEN_START{{.*}}IS_DOXYGEN_START{{.*}}BriefComment=
456// WRONG-NOT: IS_DOXYGEN_END{{.*}}IS_DOXYGEN_END{{.*}}BriefComment=
457//
458// Ensure that XML is not invalid
459// WRONG-NOT: CommentXMLInvalid
460
461// RUN: FileCheck %s < %t/out.c-index-direct
462// RUN: FileCheck %s < %t/out.c-index-pch
463
464// CHECK: annotate-comments.cpp:16:6: FunctionDecl=isdoxy4:{{.*}} isdoxy4 IS_DOXYGEN_SINGLE
465// CHECK: annotate-comments.cpp:20:6: FunctionDecl=isdoxy5:{{.*}} isdoxy5 IS_DOXYGEN_SINGLE
466// CHECK: annotate-comments.cpp:25:6: FunctionDecl=isdoxy6:{{.*}} isdoxy6 IS_DOXYGEN_SINGLE
467// CHECK: annotate-comments.cpp:31:6: FunctionDecl=isdoxy7:{{.*}} isdoxy7 IS_DOXYGEN_SINGLE
468// CHECK: annotate-comments.cpp:34:6: FunctionDecl=isdoxy8:{{.*}} isdoxy8 IS_DOXYGEN_SINGLE
469// CHECK: annotate-comments.cpp:37:6: FunctionDecl=isdoxy9:{{.*}} isdoxy9 IS_DOXYGEN_SINGLE
470// CHECK: annotate-comments.cpp:41:6: FunctionDecl=isdoxy10:{{.*}} isdoxy10 IS_DOXYGEN_SINGLE
471// CHECK: annotate-comments.cpp:53:6: FunctionDecl=isdoxy13:{{.*}} isdoxy13 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
472// CHECK: annotate-comments.cpp:58:6: FunctionDecl=isdoxy14:{{.*}} isdoxy14 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
473// CHECK: annotate-comments.cpp:63:6: FunctionDecl=isdoxy15:{{.*}} isdoxy15 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
474// CHECK: annotate-comments.cpp:67:6: FunctionDecl=isdoxy16:{{.*}} isdoxy16 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
475// CHECK: annotate-comments.cpp:72:6: FunctionDecl=isdoxy17:{{.*}} isdoxy17 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
476// CHECK: annotate-comments.cpp:80:5: FunctionDecl=isdoxy18:{{.*}} isdoxy18 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
477// CHECK: annotate-comments.cpp:90:6: FunctionDecl=isdoxy19:{{.*}} isdoxy19 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
478// CHECK: annotate-comments.cpp:96:6: FunctionDecl=isdoxy20:{{.*}} isdoxy20 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
479// CHECK: annotate-comments.cpp:107:8: StructDecl=isdoxy25:{{.*}} IS_DOXYGEN_SINGLE
480// CHECK: annotate-comments.cpp:112:7: FieldDecl=isdoxy26:{{.*}} IS_DOXYGEN_SINGLE
481// CHECK: annotate-comments.cpp:116:7: FieldDecl=isdoxy27:{{.*}} IS_DOXYGEN_SINGLE
482// CHECK: annotate-comments.cpp:123:6: EnumDecl=isdoxy29:{{.*}} IS_DOXYGEN_SINGLE
483// CHECK: annotate-comments.cpp:130:11: Namespace=isdoxy31:{{.*}} IS_DOXYGEN_SINGLE
484// CHECK: annotate-comments.cpp:138:7: FieldDecl=isdoxy33:{{.*}} isdoxy33 IS_DOXYGEN_SINGLE
485// CHECK: annotate-comments.cpp:139:7: FieldDecl=isdoxy34:{{.*}} isdoxy34 IS_DOXYGEN_SINGLE
486// CHECK: annotate-comments.cpp:142:7: FieldDecl=isdoxy35:{{.*}} isdoxy35 IS_DOXYGEN_SINGLE
487// CHECK: annotate-comments.cpp:143:7: FieldDecl=isdoxy36:{{.*}} isdoxy36 IS_DOXYGEN_SINGLE
488// CHECK: annotate-comments.cpp:146:7: FieldDecl=isdoxy37:{{.*}} isdoxy37 IS_DOXYGEN_SINGLE
489// CHECK: annotate-comments.cpp:147:7: FieldDecl=isdoxy38:{{.*}} isdoxy38 IS_DOXYGEN_SINGLE
490// CHECK: annotate-comments.cpp:148:7: FieldDecl=isdoxy39:{{.*}} isdoxy39 IS_DOXYGEN_SINGLE
491// CHECK: annotate-comments.cpp:155:6: FunctionDecl=isdoxy40:{{.*}} isdoxy40 IS_DOXYGEN_SINGLE
492// CHECK: annotate-comments.cpp:160:5: FunctionDecl=isdoxy41:{{.*}} isdoxy41 IS_DOXYGEN_SINGLE
493// CHECK: annotate-comments.cpp:163:7: FieldDecl=isdoxy42:{{.*}} isdoxy42 IS_DOXYGEN_SINGLE
494// CHECK: annotate-comments.cpp:176:6: FunctionDecl=isdoxy43:{{.*}} IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
495
496// CHECK: annotate-comments.cpp:185:6: FunctionDecl=isdoxy44:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa bbb ccc.]
497// CHECK: annotate-comments.cpp:195:6: FunctionDecl=isdoxy45:{{.*}} BriefComment=[Ddd eee. Fff.]
498// CHECK: annotate-comments.cpp:205:6: FunctionDecl=isdoxy46:{{.*}} BriefComment=[Ddd eee. Fff.]
499// CHECK: annotate-comments.cpp:214:6: FunctionDecl=isdoxy48:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa bbb]
500// CHECK: annotate-comments.cpp:218:6: FunctionDecl=isdoxy49:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa]
501// CHECK: annotate-comments.cpp:222:6: FunctionDecl=isdoxy50:{{.*}} BriefComment=[Returns ddd IS_DOXYGEN_END]
502
503// CHECK: annotate-comments.cpp:225:6: FunctionDecl=comment_to_html_conversion_1:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="225" column="6"><Name>comment_to_html_conversion_1</Name><USR>c:@F@comment_to_html_conversion_1#</USR><Abstract><Para> Aaa.</Para></Abstract></Function>]
504// CHECK-NEXT:  CommentAST=[
505// CHECK-NEXT:    (CXComment_FullComment
506// CHECK-NEXT:       (CXComment_Paragraph
507// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.])))]
508// CHECK: annotate-comments.cpp:228:6: FunctionDecl=comment_to_html_conversion_2:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="228" column="6"><Name>comment_to_html_conversion_2</Name><USR>c:@F@comment_to_html_conversion_2#</USR><Abstract><Para> Aaa.</Para></Abstract></Function>]
509// CHECK-NEXT:  CommentAST=[
510// CHECK-NEXT:    (CXComment_FullComment
511// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
512// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
513// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
514// CHECK-NEXT:         (CXComment_Paragraph
515// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
516// CHECK: annotate-comments.cpp:231:6: FunctionDecl=comment_to_html_conversion_3:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="231" column="6"><Name>comment_to_html_conversion_3</Name><USR>c:@F@comment_to_html_conversion_3#</USR><Abstract><Para> Aaa.</Para></Abstract></Function>]
517// CHECK-NEXT:  CommentAST=[
518// CHECK-NEXT:    (CXComment_FullComment
519// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
520// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
521// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[short]
522// CHECK-NEXT:         (CXComment_Paragraph
523// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
524// CHECK: annotate-comments.cpp:236:6: FunctionDecl=comment_to_html_conversion_4:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Bbb.</p><p> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="236" column="6"><Name>comment_to_html_conversion_4</Name><USR>c:@F@comment_to_html_conversion_4#</USR><Abstract><Para> Bbb.</Para></Abstract><Discussion><Para> Aaa.</Para></Discussion></Function>]
525// CHECK-NEXT:  CommentAST=[
526// CHECK-NEXT:    (CXComment_FullComment
527// CHECK-NEXT:       (CXComment_Paragraph
528// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
529// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
530// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
531// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
532// CHECK-NEXT:         (CXComment_Paragraph
533// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
534// CHECK: annotate-comments.cpp:243:6: FunctionDecl=comment_to_html_conversion_5:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Bbb.</p><p> Aaa.</p><p> Ccc.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="243" column="6"><Name>comment_to_html_conversion_5</Name><USR>c:@F@comment_to_html_conversion_5#</USR><Abstract><Para> Bbb.</Para></Abstract><Discussion><Para> Aaa.</Para><Para> Ccc.</Para></Discussion></Function>]
535// CHECK-NEXT:  CommentAST=[
536// CHECK-NEXT:    (CXComment_FullComment
537// CHECK-NEXT:       (CXComment_Paragraph
538// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
539// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
540// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
541// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
542// CHECK-NEXT:         (CXComment_Paragraph
543// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.])))
544// CHECK-NEXT:       (CXComment_Paragraph
545// CHECK-NEXT:         (CXComment_Text Text=[ Ccc.])))]
546// CHECK: annotate-comments.cpp:247:6: FunctionDecl=comment_to_html_conversion_6:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa. </p><p class="para-brief"> Bbb.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="247" column="6"><Name>comment_to_html_conversion_6</Name><USR>c:@F@comment_to_html_conversion_6#</USR><Abstract><Para> Aaa. </Para></Abstract><Discussion><Para> Bbb.</Para></Discussion></Function>]
547// CHECK-NEXT:  CommentAST=[
548// CHECK-NEXT:    (CXComment_FullComment
549// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
550// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
551// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
552// CHECK-NEXT:         (CXComment_Paragraph
553// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
554// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
555// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
556// CHECK-NEXT:         (CXComment_Paragraph
557// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
558// CHECK: annotate-comments.cpp:252: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="{{[^"]+}}annotate-comments.cpp" line="252" column="6"><Name>comment_to_html_conversion_7</Name><USR>c:@F@comment_to_html_conversion_7#</USR><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Bbb.</Para></ResultDiscussion></Function>]
559// CHECK-NEXT:  CommentAST=[
560// CHECK-NEXT:    (CXComment_FullComment
561// CHECK-NEXT:       (CXComment_Paragraph
562// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
563// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
564// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
565// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[return]
566// CHECK-NEXT:         (CXComment_Paragraph
567// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
568// CHECK: annotate-comments.cpp:257: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="{{[^"]+}}annotate-comments.cpp" line="257" column="6"><Name>comment_to_html_conversion_8</Name><USR>c:@F@comment_to_html_conversion_8#</USR><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Bbb.</Para></ResultDiscussion></Function>]
569// CHECK-NEXT:  CommentAST=[
570// CHECK-NEXT:    (CXComment_FullComment
571// CHECK-NEXT:       (CXComment_Paragraph
572// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
573// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
574// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
575// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
576// CHECK-NEXT:         (CXComment_Paragraph
577// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
578// CHECK: annotate-comments.cpp:262: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="{{[^"]+}}annotate-comments.cpp" line="262" column="6"><Name>comment_to_html_conversion_9</Name><USR>c:@F@comment_to_html_conversion_9#</USR><Abstract><Para> Aaa.</Para></Abstract><Discussion><Para> Bbb.</Para></Discussion></Function>]
579// CHECK-NEXT:  CommentAST=[
580// CHECK-NEXT:    (CXComment_FullComment
581// CHECK-NEXT:       (CXComment_Paragraph
582// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
583// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
584// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
585// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[result]
586// CHECK-NEXT:         (CXComment_Paragraph
587// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
588// CHECK: annotate-comments.cpp:266: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="{{[^"]+}}annotate-comments.cpp" line="266" column="6"><Name>comment_to_html_conversion_10</Name><USR>c:@F@comment_to_html_conversion_10#</USR><ResultDiscussion><Para> Aaa. </Para></ResultDiscussion><Discussion><Para> Bbb.</Para></Discussion></Function>]
589// CHECK-NEXT:  CommentAST=[
590// CHECK-NEXT:    (CXComment_FullComment
591// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
592// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
593// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
594// CHECK-NEXT:         (CXComment_Paragraph
595// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
596// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
597// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
598// CHECK-NEXT:         (CXComment_Paragraph
599// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.]))))]
600// CHECK: annotate-comments.cpp:273: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="{{[^"]+}}annotate-comments.cpp" line="273" column="6"><Name>comment_to_html_conversion_11</Name><USR>c:@F@comment_to_html_conversion_11#</USR><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Ccc.</Para></ResultDiscussion><Discussion><Para> Bbb.</Para></Discussion></Function>]
601// CHECK-NEXT:  CommentAST=[
602// CHECK-NEXT:    (CXComment_FullComment
603// CHECK-NEXT:       (CXComment_Paragraph
604// CHECK-NEXT:         (CXComment_Text Text=[ Aaa.]))
605// CHECK-NEXT:       (CXComment_Paragraph
606// CHECK-NEXT:         (CXComment_Text Text=[ Bbb.]))
607// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
608// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
609// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
610// CHECK-NEXT:         (CXComment_Paragraph
611// CHECK-NEXT:           (CXComment_Text Text=[ Ccc.]))))]
612// CHECK: annotate-comments.cpp:276:6: FunctionDecl=comment_to_html_conversion_12:{{.*}} FullCommentAsHTML=[] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="276" column="6"><Name>comment_to_html_conversion_12</Name><USR>c:@F@comment_to_html_conversion_12#I#</USR></Function>]
613// CHECK-NEXT:  CommentAST=[
614// CHECK-NEXT:    (CXComment_FullComment
615// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
616// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
617// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[] ParamIndex=Invalid
618// CHECK-NEXT:         (CXComment_Paragraph IsWhitespace)))]
619// CHECK: annotate-comments.cpp:279: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="{{[^"]+}}annotate-comments.cpp" line="279" column="6"><Name>comment_to_html_conversion_13</Name><USR>c:@F@comment_to_html_conversion_13#I#</USR><Parameters><Parameter><Name>x1</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa.</Para></Discussion></Parameter></Parameters></Function>]
620// CHECK-NEXT:  CommentAST=[
621// CHECK-NEXT:    (CXComment_FullComment
622// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
623// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
624// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
625// CHECK-NEXT:         (CXComment_Paragraph
626// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
627// CHECK: annotate-comments.cpp:282: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="{{[^"]+}}annotate-comments.cpp" line="282" column="6"><Name>comment_to_html_conversion_14</Name><USR>c:@F@comment_to_html_conversion_14#I#</USR><Parameters><Parameter><Name>zzz</Name><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa.</Para></Discussion></Parameter></Parameters></Function>]
628// CHECK-NEXT:  CommentAST=[
629// CHECK-NEXT:    (CXComment_FullComment
630// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
631// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
632// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[zzz] ParamIndex=Invalid
633// CHECK-NEXT:         (CXComment_Paragraph
634// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
635// CHECK: annotate-comments.cpp:286: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="{{[^"]+}}annotate-comments.cpp" line="286" column="6"><Name>comment_to_html_conversion_15</Name><USR>c:@F@comment_to_html_conversion_15#I#I#</USR><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>]
636// CHECK-NEXT:  CommentAST=[
637// CHECK-NEXT:    (CXComment_FullComment
638// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
639// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
640// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
641// CHECK-NEXT:         (CXComment_Paragraph
642// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
643// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
644// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
645// CHECK-NEXT:         (CXComment_Paragraph
646// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
647// CHECK: annotate-comments.cpp:291: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="{{[^"]+}}annotate-comments.cpp" line="291" column="6"><Name>comment_to_html_conversion_16</Name><USR>c:@F@comment_to_html_conversion_16#I#I#</USR><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>]
648// CHECK-NEXT:  CommentAST=[
649// CHECK-NEXT:    (CXComment_FullComment
650// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
651// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
652// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
653// CHECK-NEXT:         (CXComment_Paragraph
654// CHECK-NEXT:           (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
655// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
656// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[zzz] ParamIndex=Invalid
657// CHECK-NEXT:         (CXComment_Paragraph
658// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
659// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
660// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
661// CHECK-NEXT:         (CXComment_Paragraph
662// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.]))))]
663// CHECK: annotate-comments.cpp:296: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="{{[^"]+}}annotate-comments.cpp" line="296" column="6"><Name>comment_to_html_conversion_17</Name><USR>c:@FT@&gt;1#Tcomment_to_html_conversion_17#t0.0#</USR><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah</Para></Discussion></Parameter></Parameters></Function>]
664// CHECK-NEXT:  CommentAST=[
665// CHECK-NEXT:    (CXComment_FullComment
666// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
667// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
668// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[] ParamPosition=Invalid
669// CHECK-NEXT:         (CXComment_Paragraph IsWhitespace
670// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
671// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0
672// CHECK-NEXT:         (CXComment_Paragraph
673// CHECK-NEXT:           (CXComment_Text Text=[ Blah blah]))))]
674// CHECK: annotate-comments.cpp:301: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="{{[^"]+}}annotate-comments.cpp" line="301" column="6"><Name>comment_to_html_conversion_18</Name><USR>c:@FT@&gt;1#Tcomment_to_html_conversion_18#t0.0#</USR><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah</Para></Discussion></Parameter></Parameters></Function>]
675// CHECK-NEXT:  CommentAST=[
676// CHECK-NEXT:    (CXComment_FullComment
677// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
678// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
679// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T] ParamPosition={0}
680// CHECK-NEXT:         (CXComment_Paragraph IsWhitespace
681// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
682// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0
683// CHECK-NEXT:         (CXComment_Paragraph
684// CHECK-NEXT:           (CXComment_Text Text=[ Blah blah]))))]
685// CHECK: annotate-comments.cpp:306: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="{{[^"]+}}annotate-comments.cpp" line="306" 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><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>]
686// CHECK-NEXT:  CommentAST=[
687// CHECK-NEXT:    (CXComment_FullComment
688// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
689// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
690// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T2] ParamPosition={1}
691// CHECK-NEXT:         (CXComment_Paragraph
692// CHECK-NEXT:           (CXComment_Text Text=[ Bbb] HasTrailingNewline)
693// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
694// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T1] ParamPosition={0}
695// CHECK-NEXT:         (CXComment_Paragraph
696// CHECK-NEXT:           (CXComment_Text Text=[ Aaa]))))]
697// CHECK: annotate-comments.cpp:313: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="{{[^"]+}}annotate-comments.cpp" line="313" 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><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>]
698// CHECK-NEXT:  CommentAST=[
699// CHECK-NEXT:    (CXComment_FullComment
700// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
701// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
702// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T2] ParamPosition={1}
703// CHECK-NEXT:         (CXComment_Paragraph
704// CHECK-NEXT:           (CXComment_Text Text=[ Bbb] HasTrailingNewline)
705// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
706// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[U] ParamPosition=Invalid
707// CHECK-NEXT:         (CXComment_Paragraph
708// CHECK-NEXT:           (CXComment_Text Text=[ Zzz] HasTrailingNewline)
709// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
710// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[V] ParamPosition={2}
711// CHECK-NEXT:         (CXComment_Paragraph
712// CHECK-NEXT:           (CXComment_Text Text=[ Ccc] HasTrailingNewline)
713// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
714// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T1] ParamPosition={0}
715// CHECK-NEXT:         (CXComment_Paragraph
716// CHECK-NEXT:           (CXComment_Text Text=[ Aaa]))))]
717// CHECK: annotate-comments.cpp:320: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="{{[^"]+}}annotate-comments.cpp" line="320" 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><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>]
718// CHECK-NEXT:  CommentAST=[
719// CHECK-NEXT:    (CXComment_FullComment
720// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
721// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
722// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[TTT] ParamPosition={0}
723// CHECK-NEXT:         (CXComment_Paragraph
724// CHECK-NEXT:           (CXComment_Text Text=[ Ddd] HasTrailingNewline)
725// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
726// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[C] ParamPosition={0, 1}
727// CHECK-NEXT:         (CXComment_Paragraph
728// CHECK-NEXT:           (CXComment_Text Text=[ Ccc] HasTrailingNewline)
729// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
730// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[T] ParamPosition={0, 0, 0}
731// CHECK-NEXT:         (CXComment_Paragraph
732// CHECK-NEXT:           (CXComment_Text Text=[ Aaa] HasTrailingNewline)
733// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
734// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[TT] ParamPosition={0, 0}
735// CHECK-NEXT:         (CXComment_Paragraph
736// CHECK-NEXT:           (CXComment_Text Text=[ Bbb]))))]
737// CHECK: annotate-comments.cpp:329: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="{{[^"]+}}annotate-comments.cpp" line="329" column="6"><Name>comment_to_html_conversion_22</Name><USR>c:@F@comment_to_html_conversion_22#I#I#</USR><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>]
738// CHECK-NEXT:  CommentAST=[
739// CHECK-NEXT:    (CXComment_FullComment
740// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
741// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
742// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[brief]
743// CHECK-NEXT:         (CXComment_Paragraph
744// CHECK-NEXT:           (CXComment_Text Text=[ Aaa.])))
745// CHECK-NEXT:       (CXComment_Paragraph
746// CHECK-NEXT:         (CXComment_Text Text=[ Bbb.]))
747// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
748// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
749// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
750// CHECK-NEXT:         (CXComment_Paragraph
751// CHECK-NEXT:           (CXComment_Text Text=[ Ddd.] HasTrailingNewline)
752// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
753// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
754// CHECK-NEXT:         (CXComment_Paragraph
755// CHECK-NEXT:           (CXComment_Text Text=[ Ccc.] HasTrailingNewline)
756// CHECK-NEXT:           (CXComment_Text Text=[ ] IsWhitespace)))
757// CHECK-NEXT:       (CXComment_BlockCommand CommandName=[returns]
758// CHECK-NEXT:         (CXComment_Paragraph
759// CHECK-NEXT:           (CXComment_Text Text=[ Eee.]))))]
760// CHECK: annotate-comments.cpp:332:6: FunctionDecl=comment_to_html_conversion_23:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <br><a href="http://example.com/">Aaa</a></p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="332" column="6"><Name>comment_to_html_conversion_23</Name><USR>c:@F@comment_to_html_conversion_23#</USR><Abstract><Para> <rawHTML><![CDATA[<br>]]></rawHTML><rawHTML><![CDATA[<a href="http://example.com/">]]></rawHTML>Aaa<rawHTML>&lt;/a&gt;</rawHTML></Para></Abstract></Function>]
761// CHECK-NEXT:  CommentAST=[
762// CHECK-NEXT:    (CXComment_FullComment
763// CHECK-NEXT:       (CXComment_Paragraph
764// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
765// CHECK-NEXT:         (CXComment_HTMLStartTag Name=[br])
766// CHECK-NEXT:         (CXComment_HTMLStartTag Name=[a] Attrs: href=http://example.com/)
767// CHECK-NEXT:         (CXComment_Text Text=[Aaa])
768// CHECK-NEXT:         (CXComment_HTMLEndTag Name=[a])))]
769// CHECK: annotate-comments.cpp:338: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="{{[^"]+}}annotate-comments.cpp" line="338" column="6"><Name>comment_to_html_conversion_24</Name><USR>c:@F@comment_to_html_conversion_24#</USR><Discussion><Verbatim kind="verbatim"> &lt;a href=&quot;http://example.com/">Aaa</a>\n &lt;a href=&apos;http://example.com/'>Aaa</a>;</Verbatim></Discussion></Function>]
770// CHECK-NEXT:  CommentAST=[
771// CHECK-NEXT:    (CXComment_FullComment
772// CHECK-NEXT:       (CXComment_Paragraph IsWhitespace
773// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
774// CHECK-NEXT:       (CXComment_VerbatimBlockCommand CommandName=[verbatim]
775// CHECK-NEXT:         (CXComment_VerbatimBlockLine Text=[ <a href="http://example.com/">Aaa</a>])
776// CHECK-NEXT:         (CXComment_VerbatimBlockLine Text=[ <a href='http://example.com/'>Aaa</a>])))]
777// CHECK: annotate-comments.cpp:341:6: FunctionDecl=comment_to_html_conversion_25:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <b>Aaa</b></p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="341" column="6"><Name>comment_to_html_conversion_25</Name><USR>c:@F@comment_to_html_conversion_25#</USR><Abstract><Para> <bold>Aaa</bold></Para></Abstract></Function>]
778// CHECK-NEXT:  CommentAST=[
779// CHECK-NEXT:    (CXComment_FullComment
780// CHECK-NEXT:       (CXComment_Paragraph
781// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
782// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[b] RenderBold Arg[0]=Aaa)))]
783// CHECK: annotate-comments.cpp:344:6: FunctionDecl=comment_to_html_conversion_26:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <tt>Aaa</tt> <tt>Bbb</tt></p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="344" column="6"><Name>comment_to_html_conversion_26</Name><USR>c:@F@comment_to_html_conversion_26#</USR><Abstract><Para> <monospaced>Aaa</monospaced> <monospaced>Bbb</monospaced></Para></Abstract></Function>]
784// CHECK-NEXT:  CommentAST=[
785// CHECK-NEXT:    (CXComment_FullComment
786// CHECK-NEXT:       (CXComment_Paragraph
787// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
788// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[c] RenderMonospaced Arg[0]=Aaa)
789// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
790// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[p] RenderMonospaced Arg[0]=Bbb)))]
791// CHECK: annotate-comments.cpp:347:6: FunctionDecl=comment_to_html_conversion_27:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <em>Aaa</em> <em>Bbb</em> <em>Ccc</em></p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="347" column="6"><Name>comment_to_html_conversion_27</Name><USR>c:@F@comment_to_html_conversion_27#</USR><Abstract><Para> <emphasized>Aaa</emphasized> <emphasized>Bbb</emphasized> <emphasized>Ccc</emphasized></Para></Abstract></Function>]
792// CHECK-NEXT:  CommentAST=[
793// CHECK-NEXT:    (CXComment_FullComment
794// CHECK-NEXT:       (CXComment_Paragraph
795// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
796// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=Aaa)
797// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
798// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=Bbb)
799// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
800// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=Ccc)))]
801// CHECK: annotate-comments.cpp:350:6: FunctionDecl=comment_to_html_conversion_28:{{.*}} 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="{{[^"]+}}annotate-comments.cpp" line="350" column="6"><Name>comment_to_html_conversion_28</Name><USR>c:@F@comment_to_html_conversion_28#</USR><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>]
802// CHECK-NEXT:  CommentAST=[
803// CHECK-NEXT:    (CXComment_FullComment
804// CHECK-NEXT:       (CXComment_Paragraph
805// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
806// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=1<2)
807// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
808// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=3<4)
809// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
810// CHECK-NEXT:         (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=5<6)
811// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace))
812// CHECK-NEXT:       (CXComment_ParamCommand in implicitly ParamName=[7<8] ParamIndex=Invalid
813// CHECK-NEXT:         (CXComment_Paragraph
814// CHECK-NEXT:           (CXComment_Text Text=[ aaa ])))
815// CHECK-NEXT:       (CXComment_TParamCommand ParamName=[9<10] ParamPosition=Invalid
816// CHECK-NEXT:         (CXComment_Paragraph
817// CHECK-NEXT:           (CXComment_Text Text=[ bbb]))))]
818// CHECK: annotate-comments.cpp:353:6: FunctionDecl=comment_to_html_conversion_29:{{.*}} FullCommentAsHTML=[<p class="para-brief"> \ @ &amp; $ # &lt; &gt; % &quot; . ::</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="353" column="6"><Name>comment_to_html_conversion_29</Name><USR>c:@F@comment_to_html_conversion_29#</USR><Abstract><Para> \ @ &amp; $ # &lt; &gt; % &quot; . ::</Para></Abstract></Function>]
819// CHECK-NEXT:  CommentAST=[
820// CHECK-NEXT:    (CXComment_FullComment
821// CHECK-NEXT:       (CXComment_Paragraph
822// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
823// CHECK-NEXT:         (CXComment_Text Text=[\])
824// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
825// CHECK-NEXT:         (CXComment_Text Text=[@])
826// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
827// CHECK-NEXT:         (CXComment_Text Text=[&])
828// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
829// CHECK-NEXT:         (CXComment_Text Text=[$])
830// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
831// CHECK-NEXT:         (CXComment_Text Text=[#])
832// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
833// CHECK-NEXT:         (CXComment_Text Text=[<])
834// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
835// CHECK-NEXT:         (CXComment_Text Text=[>])
836// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
837// CHECK-NEXT:         (CXComment_Text Text=[%])
838// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
839// CHECK-NEXT:         (CXComment_Text Text=["])
840// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
841// CHECK-NEXT:         (CXComment_Text Text=[.])
842// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
843// CHECK-NEXT:         (CXComment_Text Text=[::])))]
844// CHECK: annotate-comments.cpp:356:6: FunctionDecl=comment_to_html_conversion_30:{{.*}} FullCommentAsHTML=[<p class="para-brief"> &amp; &lt; &gt; &quot;</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="356" column="6"><Name>comment_to_html_conversion_30</Name><USR>c:@F@comment_to_html_conversion_30#</USR><Abstract><Para> &amp; &lt; &gt; &quot;</Para></Abstract></Function>]
845// CHECK-NEXT:  CommentAST=[
846// CHECK-NEXT:    (CXComment_FullComment
847// CHECK-NEXT:       (CXComment_Paragraph
848// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
849// CHECK-NEXT:         (CXComment_Text Text=[&])
850// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
851// CHECK-NEXT:         (CXComment_Text Text=[<])
852// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
853// CHECK-NEXT:         (CXComment_Text Text=[>])
854// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
855// CHECK-NEXT:         (CXComment_Text Text=["])))]
856// CHECK: annotate-comments.cpp:359:6: FunctionDecl=comment_to_html_conversion_31:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <em>0&lt;i</em></p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="359" column="6"><Name>comment_to_html_conversion_31</Name><USR>c:@F@comment_to_html_conversion_31#</USR><Abstract><Para> <rawHTML><![CDATA[<em>]]></rawHTML>0&lt;i<rawHTML>&lt;/em&gt;</rawHTML></Para></Abstract></Function>]
857// CHECK-NEXT:  CommentAST=[
858// CHECK-NEXT:    (CXComment_FullComment
859// CHECK-NEXT:       (CXComment_Paragraph
860// CHECK-NEXT:         (CXComment_Text Text=[ ] IsWhitespace)
861// CHECK-NEXT:         (CXComment_HTMLStartTag Name=[em])
862// CHECK-NEXT:         (CXComment_Text Text=[0])
863// CHECK-NEXT:         (CXComment_Text Text=[<])
864// CHECK-NEXT:         (CXComment_Text Text=[i])
865// CHECK-NEXT:         (CXComment_HTMLEndTag Name=[em])))]
866
867// CHECK: annotate-comments.cpp:362:7: ClassDecl=comment_to_xml_conversion_01:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}annotate-comments.cpp" line="362" column="7"><Name>comment_to_xml_conversion_01</Name><USR>c:@C@comment_to_xml_conversion_01</USR><Abstract><Para> Aaa.</Para></Abstract></Class>]
868// CHECK: annotate-comments.cpp:364:3: CXXConstructor=comment_to_xml_conversion_01:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="364" 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><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah.</Para></Discussion></Parameter></Parameters></Function>]
869// CHECK: annotate-comments.cpp:367:3: CXXDestructor=~comment_to_xml_conversion_01:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="367" column="3"><Name>~comment_to_xml_conversion_01</Name><USR>c:@C@comment_to_xml_conversion_01@F@~comment_to_xml_conversion_01#</USR><Abstract><Para> Aaa.</Para></Abstract></Function>]
870// CHECK: annotate-comments.cpp:370:7: CXXMethod=comment_to_xml_conversion_02:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="370" 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><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah.</Para></Discussion></Parameter></Parameters></Function>]
871// CHECK: annotate-comments.cpp:373:14: CXXMethod=comment_to_xml_conversion_03:{{.*}} FullCommentAsXML=[<Function isClassMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="373" 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><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah.</Para></Discussion></Parameter></Parameters></Function>]
872// CHECK: annotate-comments.cpp:376:7: FieldDecl=comment_to_xml_conversion_04:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}annotate-comments.cpp" line="376" column="7"><Name>comment_to_xml_conversion_04</Name><USR>c:@C@comment_to_xml_conversion_01@FI@comment_to_xml_conversion_04</USR><Abstract><Para> Aaa.</Para></Abstract></Variable>]
873// CHECK: annotate-comments.cpp:379:14: VarDecl=comment_to_xml_conversion_05:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}annotate-comments.cpp" line="379" column="14"><Name>comment_to_xml_conversion_05</Name><USR>c:@C@comment_to_xml_conversion_01@comment_to_xml_conversion_05</USR><Abstract><Para> Aaa.</Para></Abstract></Variable>]
874// CHECK: annotate-comments.cpp:382:8: CXXMethod=operator():{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="382" column="8"><Name>operator()</Name><USR>c:@C@comment_to_xml_conversion_01@F@operator()#I#</USR><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah.</Para></Discussion></Parameter></Parameters></Function>]
875// CHECK: annotate-comments.cpp:385:3: CXXConversion=operator _Bool:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="385" column="3"><Name>operator _Bool</Name><USR>c:@C@comment_to_xml_conversion_01@F@operator _Bool#</USR><Abstract><Para> Aaa.</Para></Abstract></Function>]
876// CHECK: annotate-comments.cpp:388:15: TypedefDecl=comment_to_xml_conversion_06:{{.*}} FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments.cpp" line="388" column="15"><Name>comment_to_xml_conversion_06</Name><USR>c:annotate-comments.cpp@7933@C@comment_to_xml_conversion_01@T@comment_to_xml_conversion_06</USR><Abstract><Para> Aaa.</Para></Abstract></Typedef>]
877// CHECK: annotate-comments.cpp:391:9: TypeAliasDecl=comment_to_xml_conversion_07:{{.*}} FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments.cpp" line="391" column="9"><Name>comment_to_xml_conversion_07</Name><USR>c:@C@comment_to_xml_conversion_01@comment_to_xml_conversion_07</USR><Abstract><Para> Aaa.</Para></Abstract></Typedef>]
878// CHECK: annotate-comments.cpp:398:3: UnexposedDecl=comment_to_xml_conversion_09:{{.*}} FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments.cpp" line="398" column="3"><Name>comment_to_xml_conversion_09</Name><USR>c:@C@comment_to_xml_conversion_01@comment_to_xml_conversion_09</USR><Abstract><Para> Aaa.</Para></Abstract></Typedef>]
879// CHECK: annotate-comments.cpp:403:6: FunctionTemplate=comment_to_xml_conversion_10:{{.*}} FullCommentAsXML=[<Function templateKind="template" file="{{[^"]+}}annotate-comments.cpp" line="403" 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><Abstract><Para> Aaa.</Para></Abstract></Function>]
880// CHECK: annotate-comments.cpp:407:6: FunctionDecl=comment_to_xml_conversion_10:{{.*}} FullCommentAsXML=[<Function templateKind="specialization" file="{{[^"]+}}annotate-comments.cpp" line="407" column="6"><Name>comment_to_xml_conversion_10</Name><USR>c:@F@comment_to_xml_conversion_10&lt;#I#I&gt;#I#I#</USR><Abstract><Para> Aaa.</Para></Abstract></Function>]
881// CHECK: annotate-comments.cpp:411:7: ClassTemplate=comment_to_xml_conversion_11:{{.*}} FullCommentAsXML=[<Class templateKind="template" file="{{[^"]+}}annotate-comments.cpp" line="411" column="7"><Name>comment_to_xml_conversion_11</Name><USR>c:@CT&gt;2#T#T@comment_to_xml_conversion_11</USR><Abstract><Para> Aaa.</Para></Abstract></Class>]
882// CHECK: annotate-comments.cpp:415:7: ClassTemplatePartialSpecialization=comment_to_xml_conversion_11:{{.*}} FullCommentAsXML=[<Class templateKind="partialSpecialization" file="{{[^"]+}}annotate-comments.cpp" line="415" 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><Abstract><Para> Aaa.</Para></Abstract></Class>]
883// CHECK: annotate-comments.cpp:419:7: ClassDecl=comment_to_xml_conversion_11:{{.*}} FullCommentAsXML=[<Class templateKind="specialization" file="{{[^"]+}}annotate-comments.cpp" line="419" column="7"><Name>comment_to_xml_conversion_11</Name><USR>c:@C@comment_to_xml_conversion_11&gt;#I#I</USR><Abstract><Para> Aaa.</Para></Abstract></Class>]
884// CHECK: annotate-comments.cpp:422:5: VarDecl=comment_to_xml_conversion_12:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}annotate-comments.cpp" line="422" column="5"><Name>comment_to_xml_conversion_12</Name><USR>c:@comment_to_xml_conversion_12</USR><Abstract><Para> Aaa.</Para></Abstract></Variable>]
885// CHECK: annotate-comments.cpp:425:11: Namespace=comment_to_xml_conversion_13:{{.*}} FullCommentAsXML=[<Namespace file="{{[^"]+}}annotate-comments.cpp" line="425" column="11"><Name>comment_to_xml_conversion_13</Name><USR>c:@N@comment_to_xml_conversion_13</USR><Abstract><Para> Aaa.</Para></Abstract></Namespace>]
886// CHECK: annotate-comments.cpp:427:13: Namespace=comment_to_xml_conversion_14:{{.*}} FullCommentAsXML=[<Namespace file="{{[^"]+}}annotate-comments.cpp" line="427" column="13"><Name>comment_to_xml_conversion_14</Name><USR>c:@N@comment_to_xml_conversion_13@N@comment_to_xml_conversion_14</USR><Abstract><Para> Aaa.</Para></Abstract></Namespace>]
887
888