blob: 908b02f401304625768382502ea92fa7957e9a89 [file] [log] [blame]
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +00001// 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
Dmitri Gribenkoc88c6a42012-08-28 01:20:53 +000069/// NOT_DOXYGEN
70// NOT_DOXYGEN
71/// isdoxy17 IS_DOXYGEN_START IS_DOXYGEN_END
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +000072void isdoxy17(void);
73
74unsigned
75// NOT_DOXYGEN
Dmitri Gribenkoc88c6a42012-08-28 01:20:53 +000076/// NOT_DOXYGEN
77// NOT_DOXYGEN
78/// isdoxy18 IS_DOXYGEN_START IS_DOXYGEN_END
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +000079// 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
Dmitri Gribenko9c006762012-07-06 23:27:33 +000098void notdoxy21(int); ///< This is a member comment. isdoxy21 IS_DOXYGEN_NOT_ATTACHED
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +000099
Dmitri Gribenko9c006762012-07-06 23:27:33 +0000100void notdoxy22(int); /*!< This is a member comment. isdoxy22 IS_DOXYGEN_NOT_ATTACHED */
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +0000101
Dmitri Gribenko9c006762012-07-06 23:27:33 +0000102void notdoxy23(int); /**< This is a member comment. isdoxy23 IS_DOXYGEN_NOT_ATTACHED */
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +0000103
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
Dmitri Gribenko2d44d772012-06-26 20:39:18 +0000166/// IS_DOXYGEN_START
167/// It is fine to have a command at the end of comment.
168///\brief
169///
170/// Some malformed command.
Dmitri Gribenkoc88c6a42012-08-28 01:20:53 +0000171/** \*/
Dmitri Gribenko2d44d772012-06-26 20:39:18 +0000172/**
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
Dmitri Gribenko659a7122012-07-17 18:35:14 +0000197/// 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
Dmitri Gribenko8bdb58a2012-06-27 23:43:37 +0000207/// IS_DOXYGEN_NOT_ATTACHED
208#define FOO
Dmitri Gribenko659a7122012-07-17 18:35:14 +0000209void notdoxy47(void);
Dmitri Gribenko8bdb58a2012-06-27 23:43:37 +0000210
Dmitri Gribenkof199b9c2012-06-28 00:01:41 +0000211/// IS_DOXYGEN_START Aaa bbb
212/// \param ccc
213/// \returns ddd IS_DOXYGEN_END
Dmitri Gribenko659a7122012-07-17 18:35:14 +0000214void isdoxy48(int);
Dmitri Gribenkof199b9c2012-06-28 00:01:41 +0000215
Dmitri Gribenko72021ff2012-07-20 17:01:34 +0000216/// \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
Dmitri Gribenko0ac4ec72012-08-21 21:15:34 +0000224// One of the following lines has trailing whitespace. It is intended, don't
225// fix it.
226/**
227 * Aaa. IS_DOXYGEN_START
228 *
229 * Bbb. IS_DOXYGEN_END
230 */
231void isdoxy51(int);
232
233// One of the following lines has trailing whitespace. It is intended, don't
234// fix it.
235/**
236 * Aaa. IS_DOXYGEN_START
237 * Bbb.
238 *
239 * Ccc. IS_DOXYGEN_END
240 */
241void isdoxy52(int);
242
243/**
244 * \fn isdoxy53
245 *
246 * Aaa. IS_DOXYGEN_START IS_DOXYGEN_END
247 */
248void isdoxy53(int);
249
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000250/// Aaa.
251void comment_to_html_conversion_1();
252
253/// \brief Aaa.
254void comment_to_html_conversion_2();
255
256/// \short Aaa.
257void comment_to_html_conversion_3();
258
259/// Aaa.
260///
261/// \brief Bbb.
262void comment_to_html_conversion_4();
263
264/// Aaa.
265///
266/// \brief Bbb.
267///
268/// Ccc.
269void comment_to_html_conversion_5();
270
271/// \brief Aaa.
272/// \brief Bbb.
273void comment_to_html_conversion_6();
274
275/// Aaa.
276///
277/// \return Bbb.
278void comment_to_html_conversion_7();
279
280/// Aaa.
281///
282/// \returns Bbb.
283void comment_to_html_conversion_8();
284
Dmitri Gribenko2c6b00e2012-07-25 17:14:58 +0000285/// Aaa.
286///
287/// \result Bbb.
288void comment_to_html_conversion_9();
289
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000290/// \returns Aaa.
291/// \returns Bbb.
Dmitri Gribenko2c6b00e2012-07-25 17:14:58 +0000292void comment_to_html_conversion_10();
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000293
294/// Aaa.
295///
296/// Bbb.
297///
298/// \returns Ccc.
Dmitri Gribenko2c6b00e2012-07-25 17:14:58 +0000299void comment_to_html_conversion_11();
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000300
Dmitri Gribenko1f8c5292012-07-23 19:41:49 +0000301/// \param
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000302void comment_to_html_conversion_12(int x1);
303
Dmitri Gribenko2c6b00e2012-07-25 17:14:58 +0000304/// \param x1 Aaa.
Dmitri Gribenko1f8c5292012-07-23 19:41:49 +0000305void comment_to_html_conversion_13(int x1);
306
Dmitri Gribenko2c6b00e2012-07-25 17:14:58 +0000307/// \param zzz Aaa.
308void comment_to_html_conversion_14(int x1);
309
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000310/// \param x2 Bbb.
311/// \param x1 Aaa.
Dmitri Gribenko2c6b00e2012-07-25 17:14:58 +0000312void comment_to_html_conversion_15(int x1, int x2);
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000313
314/// \param x2 Bbb.
315/// \param zzz Aaa.
316/// \param x1 Aaa.
Dmitri Gribenko2c6b00e2012-07-25 17:14:58 +0000317void comment_to_html_conversion_16(int x1, int x2);
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000318
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000319/// \tparam
320/// \param aaa Blah blah
321template<typename T>
322void comment_to_html_conversion_17(T aaa);
323
Dmitri Gribenkof0d151c2012-08-01 00:48:00 +0000324/// \tparam T
325/// \param aaa Blah blah
326template<typename T>
327void comment_to_html_conversion_18(T aaa);
328
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000329/// \tparam T2 Bbb
330/// \tparam T1 Aaa
331template<typename T1, typename T2>
Dmitri Gribenkof0d151c2012-08-01 00:48:00 +0000332void comment_to_html_conversion_19(T1 aaa, T2 bbb);
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000333
334/// \tparam T2 Bbb
335/// \tparam U Zzz
336/// \tparam V Ccc
337/// \tparam T1 Aaa
338template<typename T1, typename T2, int V>
Dmitri Gribenkof0d151c2012-08-01 00:48:00 +0000339void comment_to_html_conversion_20(T1 aaa, T2 bbb);
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000340
341/// \tparam TTT Ddd
342/// \tparam C Ccc
343/// \tparam T Aaa
344/// \tparam TT Bbb
345template<template<template<typename T> class TT, class C> class TTT>
Dmitri Gribenkof0d151c2012-08-01 00:48:00 +0000346void comment_to_html_conversion_21();
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000347
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000348/// \brief Aaa.
349///
350/// Bbb.
351///
352/// \param x2 Ddd.
353/// \param x1 Ccc.
354/// \returns Eee.
Dmitri Gribenkof0d151c2012-08-01 00:48:00 +0000355void comment_to_html_conversion_22(int x1, int x2);
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000356
357/// <br><a href="http://example.com/">Aaa</a>
Dmitri Gribenkof0d151c2012-08-01 00:48:00 +0000358void comment_to_html_conversion_23();
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000359
360/// \verbatim
361/// <a href="http://example.com/">Aaa</a>
362/// <a href='http://example.com/'>Aaa</a>
363/// \endverbatim
Dmitri Gribenko2c6b00e2012-07-25 17:14:58 +0000364void comment_to_html_conversion_24();
365
Dmitri Gribenko62290ae2012-08-09 18:20:29 +0000366/// \function foo
367/// \class foo
368/// \method foo
369/// \interface foo
370/// Blah blah.
Dmitri Gribenko477a9f52012-07-27 20:37:06 +0000371void comment_to_html_conversion_25();
372
Dmitri Gribenkoe4330a32012-09-10 20:32:42 +0000373/// \unknown
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000374void comment_to_html_conversion_26();
375
Dmitri Gribenkoe4330a32012-09-10 20:32:42 +0000376/// \b Aaa
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000377void comment_to_html_conversion_27();
378
Dmitri Gribenkoe4330a32012-09-10 20:32:42 +0000379/// \c Aaa \p Bbb
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000380void comment_to_html_conversion_28();
381
Dmitri Gribenkoe4330a32012-09-10 20:32:42 +0000382/// \a Aaa \e Bbb \em Ccc
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000383void comment_to_html_conversion_29();
384
Dmitri Gribenkoe4330a32012-09-10 20:32:42 +0000385/// \a 1<2 \e 3<4 \em 5<6 \param 7<8 aaa \tparam 9<10 bbb
Dmitri Gribenko59500fe2012-08-01 00:21:12 +0000386void comment_to_html_conversion_30();
387
Dmitri Gribenkoe4330a32012-09-10 20:32:42 +0000388/// \\ \@ \& \$ \# \< \> \% \" \. \::
Dmitri Gribenkof0d151c2012-08-01 00:48:00 +0000389void comment_to_html_conversion_31();
390
Dmitri Gribenkoe4330a32012-09-10 20:32:42 +0000391/// &amp; &lt; &gt; &quot;
Dmitri Gribenko62290ae2012-08-09 18:20:29 +0000392void comment_to_html_conversion_32();
393
Dmitri Gribenkoe4330a32012-09-10 20:32:42 +0000394/// <em>0&lt;i</em>
395void comment_to_html_conversion_33();
396
Dmitri Gribenkof303d4c2012-08-07 17:54:38 +0000397/// Aaa.
398class comment_to_xml_conversion_01 {
399 /// \param aaa Blah blah.
400 comment_to_xml_conversion_01(int aaa);
401
402 /// Aaa.
403 ~comment_to_xml_conversion_01();
404
405 /// \param aaa Blah blah.
406 int comment_to_xml_conversion_02(int aaa);
407
408 /// \param aaa Blah blah.
409 static int comment_to_xml_conversion_03(int aaa);
410
411 /// Aaa.
412 int comment_to_xml_conversion_04;
413
414 /// Aaa.
415 static int comment_to_xml_conversion_05;
416
417 /// \param aaa Blah blah.
418 void operator()(int aaa);
419
420 /// Aaa.
421 operator bool();
422
423 /// Aaa.
424 typedef int comment_to_xml_conversion_06;
425
426 /// Aaa.
427 using comment_to_xml_conversion_07 = int;
428
429 template<typename T, typename U>
430 class comment_to_xml_conversion_08 { };
431
432 /// Aaa.
433 template<typename T>
434 using comment_to_xml_conversion_09 = comment_to_xml_conversion_08<T, int>;
435};
436
437/// Aaa.
438template<typename T, typename U>
439void comment_to_xml_conversion_10(T aaa, U bbb);
440
441/// Aaa.
442template<>
443void comment_to_xml_conversion_10(int aaa, int bbb);
444
445/// Aaa.
446template<typename T, typename U>
447class comment_to_xml_conversion_11 { };
448
449/// Aaa.
450template<typename T>
451class comment_to_xml_conversion_11<T, int> { };
452
453/// Aaa.
454template<>
455class comment_to_xml_conversion_11<int, int> { };
456
457/// Aaa.
458int comment_to_xml_conversion_12;
459
460/// Aaa.
461namespace comment_to_xml_conversion_13 {
462 /// Aaa.
463 namespace comment_to_xml_conversion_14 {
464 }
465}
466
Dmitri Gribenkocff339a2012-08-07 18:59:04 +0000467/// Aaa.
Dmitri Gribenkodd7b8032012-08-07 18:12:22 +0000468enum comment_to_xml_conversion_15 {
469 /// Aaa.
470 comment_to_xml_conversion_16
471};
472
Dmitri Gribenkocff339a2012-08-07 18:59:04 +0000473/// Aaa.
474enum class comment_to_xml_conversion_17 {
475 /// Aaa.
476 comment_to_xml_conversion_18
477};
478
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +0000479#endif
480
481// RUN: rm -rf %t
482// RUN: mkdir %t
Dmitri Gribenkof303d4c2012-08-07 17:54:38 +0000483// RUN: %clang_cc1 -x c++ -std=c++11 -emit-pch -o %t/out.pch %s
484// RUN: %clang_cc1 -x c++ -std=c++11 -include-pch %t/out.pch -fsyntax-only %s
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +0000485
Dmitri Gribenkof303d4c2012-08-07 17:54:38 +0000486// 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
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +0000487// RUN: c-index-test -test-load-tu %t/out.pch all > %t/out.c-index-pch
488
489// RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-direct
490// RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-pch
491
492// Declarations without Doxygen comments should not pick up some Doxygen comments.
493// WRONG-NOT: notdoxy{{.*}}Comment=
494// WRONG-NOT: test{{.*}}Comment=
495
496// Non-Doxygen comments should not be attached to anything.
497// WRONG-NOT: NOT_DOXYGEN
498
499// Some Doxygen comments are not attached to anything.
500// WRONG-NOT: IS_DOXYGEN_NOT_ATTACHED
501
502// Ensure we don't pick up extra comments.
Dmitri Gribenko2d44d772012-06-26 20:39:18 +0000503// WRONG-NOT: IS_DOXYGEN_START{{.*}}IS_DOXYGEN_START{{.*}}BriefComment=
504// WRONG-NOT: IS_DOXYGEN_END{{.*}}IS_DOXYGEN_END{{.*}}BriefComment=
Dmitri Gribenkof303d4c2012-08-07 17:54:38 +0000505//
506// Ensure that XML is not invalid
507// WRONG-NOT: CommentXMLInvalid
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +0000508
509// RUN: FileCheck %s < %t/out.c-index-direct
510// RUN: FileCheck %s < %t/out.c-index-pch
511
NAKAMURA Takumiae8273a2012-10-19 00:22:54 +0000512// FIXME: Investigating.
513// XFAIL: win32
514
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +0000515// CHECK: annotate-comments.cpp:16:6: FunctionDecl=isdoxy4:{{.*}} isdoxy4 IS_DOXYGEN_SINGLE
516// CHECK: annotate-comments.cpp:20:6: FunctionDecl=isdoxy5:{{.*}} isdoxy5 IS_DOXYGEN_SINGLE
517// CHECK: annotate-comments.cpp:25:6: FunctionDecl=isdoxy6:{{.*}} isdoxy6 IS_DOXYGEN_SINGLE
518// CHECK: annotate-comments.cpp:31:6: FunctionDecl=isdoxy7:{{.*}} isdoxy7 IS_DOXYGEN_SINGLE
519// CHECK: annotate-comments.cpp:34:6: FunctionDecl=isdoxy8:{{.*}} isdoxy8 IS_DOXYGEN_SINGLE
520// CHECK: annotate-comments.cpp:37:6: FunctionDecl=isdoxy9:{{.*}} isdoxy9 IS_DOXYGEN_SINGLE
521// CHECK: annotate-comments.cpp:41:6: FunctionDecl=isdoxy10:{{.*}} isdoxy10 IS_DOXYGEN_SINGLE
522// CHECK: annotate-comments.cpp:53:6: FunctionDecl=isdoxy13:{{.*}} isdoxy13 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
523// CHECK: annotate-comments.cpp:58:6: FunctionDecl=isdoxy14:{{.*}} isdoxy14 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
524// CHECK: annotate-comments.cpp:63:6: FunctionDecl=isdoxy15:{{.*}} isdoxy15 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
525// CHECK: annotate-comments.cpp:67:6: FunctionDecl=isdoxy16:{{.*}} isdoxy16 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
526// CHECK: annotate-comments.cpp:72:6: FunctionDecl=isdoxy17:{{.*}} isdoxy17 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
527// CHECK: annotate-comments.cpp:80:5: FunctionDecl=isdoxy18:{{.*}} isdoxy18 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
528// CHECK: annotate-comments.cpp:90:6: FunctionDecl=isdoxy19:{{.*}} isdoxy19 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
529// CHECK: annotate-comments.cpp:96:6: FunctionDecl=isdoxy20:{{.*}} isdoxy20 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +0000530// CHECK: annotate-comments.cpp:107:8: StructDecl=isdoxy25:{{.*}} IS_DOXYGEN_SINGLE
531// CHECK: annotate-comments.cpp:112:7: FieldDecl=isdoxy26:{{.*}} IS_DOXYGEN_SINGLE
532// CHECK: annotate-comments.cpp:116:7: FieldDecl=isdoxy27:{{.*}} IS_DOXYGEN_SINGLE
533// CHECK: annotate-comments.cpp:123:6: EnumDecl=isdoxy29:{{.*}} IS_DOXYGEN_SINGLE
534// CHECK: annotate-comments.cpp:130:11: Namespace=isdoxy31:{{.*}} IS_DOXYGEN_SINGLE
535// CHECK: annotate-comments.cpp:138:7: FieldDecl=isdoxy33:{{.*}} isdoxy33 IS_DOXYGEN_SINGLE
536// CHECK: annotate-comments.cpp:139:7: FieldDecl=isdoxy34:{{.*}} isdoxy34 IS_DOXYGEN_SINGLE
537// CHECK: annotate-comments.cpp:142:7: FieldDecl=isdoxy35:{{.*}} isdoxy35 IS_DOXYGEN_SINGLE
538// CHECK: annotate-comments.cpp:143:7: FieldDecl=isdoxy36:{{.*}} isdoxy36 IS_DOXYGEN_SINGLE
539// CHECK: annotate-comments.cpp:146:7: FieldDecl=isdoxy37:{{.*}} isdoxy37 IS_DOXYGEN_SINGLE
540// CHECK: annotate-comments.cpp:147:7: FieldDecl=isdoxy38:{{.*}} isdoxy38 IS_DOXYGEN_SINGLE
541// CHECK: annotate-comments.cpp:148:7: FieldDecl=isdoxy39:{{.*}} isdoxy39 IS_DOXYGEN_SINGLE
542// CHECK: annotate-comments.cpp:155:6: FunctionDecl=isdoxy40:{{.*}} isdoxy40 IS_DOXYGEN_SINGLE
543// CHECK: annotate-comments.cpp:160:5: FunctionDecl=isdoxy41:{{.*}} isdoxy41 IS_DOXYGEN_SINGLE
544// CHECK: annotate-comments.cpp:163:7: FieldDecl=isdoxy42:{{.*}} isdoxy42 IS_DOXYGEN_SINGLE
Dmitri Gribenko2d44d772012-06-26 20:39:18 +0000545// CHECK: annotate-comments.cpp:176:6: FunctionDecl=isdoxy43:{{.*}} IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
546
Dmitri Gribenkod558b522012-06-28 01:38:21 +0000547// CHECK: annotate-comments.cpp:185:6: FunctionDecl=isdoxy44:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa bbb ccc.]
548// CHECK: annotate-comments.cpp:195:6: FunctionDecl=isdoxy45:{{.*}} BriefComment=[Ddd eee. Fff.]
Dmitri Gribenko659a7122012-07-17 18:35:14 +0000549// CHECK: annotate-comments.cpp:205:6: FunctionDecl=isdoxy46:{{.*}} BriefComment=[Ddd eee. Fff.]
550// CHECK: annotate-comments.cpp:214:6: FunctionDecl=isdoxy48:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa bbb]
Dmitri Gribenko72021ff2012-07-20 17:01:34 +0000551// CHECK: annotate-comments.cpp:218:6: FunctionDecl=isdoxy49:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa]
552// CHECK: annotate-comments.cpp:222:6: FunctionDecl=isdoxy50:{{.*}} BriefComment=[Returns ddd IS_DOXYGEN_END]
Dmitri Gribenko0ac4ec72012-08-21 21:15:34 +0000553// CHECK: annotate-comments.cpp:231:6: FunctionDecl=isdoxy51:{{.*}} BriefComment=[Aaa. IS_DOXYGEN_START]
554// CHECK: annotate-comments.cpp:241:6: FunctionDecl=isdoxy52:{{.*}} BriefComment=[Aaa. IS_DOXYGEN_START Bbb.]
Dmitri Gribenkoaa0cd852012-06-20 00:34:58 +0000555
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000556// CHECK: annotate-comments.cpp:251:6: FunctionDecl=comment_to_html_conversion_1:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="251" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000557// CHECK-NEXT: CommentAST=[
558// CHECK-NEXT: (CXComment_FullComment
559// CHECK-NEXT: (CXComment_Paragraph
560// CHECK-NEXT: (CXComment_Text Text=[ Aaa.])))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000561// CHECK: annotate-comments.cpp:254:6: FunctionDecl=comment_to_html_conversion_2:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="254" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000562// CHECK-NEXT: CommentAST=[
563// CHECK-NEXT: (CXComment_FullComment
564// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
565// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
566// CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
567// CHECK-NEXT: (CXComment_Paragraph
568// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000569// CHECK: annotate-comments.cpp:257:6: FunctionDecl=comment_to_html_conversion_3:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="257" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000570// CHECK-NEXT: CommentAST=[
571// CHECK-NEXT: (CXComment_FullComment
572// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
573// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
574// CHECK-NEXT: (CXComment_BlockCommand CommandName=[short]
575// CHECK-NEXT: (CXComment_Paragraph
576// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000577// CHECK: annotate-comments.cpp:262:6: FunctionDecl=comment_to_html_conversion_4:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Bbb.</p><p> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="262" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000578// CHECK-NEXT: CommentAST=[
579// CHECK-NEXT: (CXComment_FullComment
580// CHECK-NEXT: (CXComment_Paragraph
581// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
582// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
583// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
584// CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
585// CHECK-NEXT: (CXComment_Paragraph
586// CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000587// CHECK: annotate-comments.cpp:269: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="269" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000588// CHECK-NEXT: CommentAST=[
589// CHECK-NEXT: (CXComment_FullComment
590// CHECK-NEXT: (CXComment_Paragraph
591// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
592// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
593// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
594// CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
595// CHECK-NEXT: (CXComment_Paragraph
596// CHECK-NEXT: (CXComment_Text Text=[ Bbb.])))
597// CHECK-NEXT: (CXComment_Paragraph
598// CHECK-NEXT: (CXComment_Text Text=[ Ccc.])))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000599// CHECK: annotate-comments.cpp:273: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="273" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000600// CHECK-NEXT: CommentAST=[
601// CHECK-NEXT: (CXComment_FullComment
602// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
603// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
604// CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
605// CHECK-NEXT: (CXComment_Paragraph
606// CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
607// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
608// CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
609// CHECK-NEXT: (CXComment_Paragraph
610// CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000611// CHECK: annotate-comments.cpp:278: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="278" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000612// CHECK-NEXT: CommentAST=[
613// CHECK-NEXT: (CXComment_FullComment
614// CHECK-NEXT: (CXComment_Paragraph
615// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
616// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
617// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
618// CHECK-NEXT: (CXComment_BlockCommand CommandName=[return]
619// CHECK-NEXT: (CXComment_Paragraph
620// CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000621// CHECK: annotate-comments.cpp:283: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="283" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000622// CHECK-NEXT: CommentAST=[
623// CHECK-NEXT: (CXComment_FullComment
624// CHECK-NEXT: (CXComment_Paragraph
625// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
626// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
627// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
628// CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns]
629// CHECK-NEXT: (CXComment_Paragraph
630// CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000631// CHECK: annotate-comments.cpp:288: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="288" 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>]
Dmitri Gribenko2c6b00e2012-07-25 17:14:58 +0000632// CHECK-NEXT: CommentAST=[
633// CHECK-NEXT: (CXComment_FullComment
634// CHECK-NEXT: (CXComment_Paragraph
635// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
636// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
637// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
638// CHECK-NEXT: (CXComment_BlockCommand CommandName=[result]
639// CHECK-NEXT: (CXComment_Paragraph
640// CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000641// CHECK: annotate-comments.cpp:292: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="292" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000642// CHECK-NEXT: CommentAST=[
643// CHECK-NEXT: (CXComment_FullComment
644// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
645// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
646// CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns]
647// CHECK-NEXT: (CXComment_Paragraph
648// CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
649// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
650// CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns]
651// CHECK-NEXT: (CXComment_Paragraph
652// CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000653// CHECK: annotate-comments.cpp:299: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="299" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000654// CHECK-NEXT: CommentAST=[
655// CHECK-NEXT: (CXComment_FullComment
656// CHECK-NEXT: (CXComment_Paragraph
657// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))
658// CHECK-NEXT: (CXComment_Paragraph
659// CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))
660// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
661// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
662// CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns]
663// CHECK-NEXT: (CXComment_Paragraph
664// CHECK-NEXT: (CXComment_Text Text=[ Ccc.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000665// CHECK: annotate-comments.cpp:302:6: FunctionDecl=comment_to_html_conversion_12:{{.*}} FullCommentAsHTML=[] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="302" 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>]
Dmitri Gribenko1f8c5292012-07-23 19:41:49 +0000666// CHECK-NEXT: CommentAST=[
667// CHECK-NEXT: (CXComment_FullComment
668// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
669// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
670// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[] ParamIndex=Invalid
671// CHECK-NEXT: (CXComment_Paragraph IsWhitespace)))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000672// CHECK: annotate-comments.cpp:305: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="305" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000673// CHECK-NEXT: CommentAST=[
674// CHECK-NEXT: (CXComment_FullComment
675// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
676// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
677// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
678// CHECK-NEXT: (CXComment_Paragraph
679// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000680// CHECK: annotate-comments.cpp:308: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="308" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000681// CHECK-NEXT: CommentAST=[
682// CHECK-NEXT: (CXComment_FullComment
683// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
684// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
685// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[zzz] ParamIndex=Invalid
686// CHECK-NEXT: (CXComment_Paragraph
687// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000688// CHECK: annotate-comments.cpp:312: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="312" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000689// CHECK-NEXT: CommentAST=[
690// CHECK-NEXT: (CXComment_FullComment
691// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
692// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
693// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
694// CHECK-NEXT: (CXComment_Paragraph
695// CHECK-NEXT: (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
696// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
697// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
698// CHECK-NEXT: (CXComment_Paragraph
699// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000700// CHECK: annotate-comments.cpp:317: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="317" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000701// CHECK-NEXT: CommentAST=[
702// CHECK-NEXT: (CXComment_FullComment
703// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
704// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
705// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
706// CHECK-NEXT: (CXComment_Paragraph
707// CHECK-NEXT: (CXComment_Text Text=[ Bbb.] HasTrailingNewline)
708// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
709// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[zzz] ParamIndex=Invalid
710// CHECK-NEXT: (CXComment_Paragraph
711// CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline)
712// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
713// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
714// CHECK-NEXT: (CXComment_Paragraph
715// CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000716// CHECK: annotate-comments.cpp:322: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="322" 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>]
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000717// CHECK-NEXT: CommentAST=[
718// CHECK-NEXT: (CXComment_FullComment
719// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
720// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
721// CHECK-NEXT: (CXComment_TParamCommand ParamName=[] ParamPosition=Invalid
722// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
723// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
724// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0
725// CHECK-NEXT: (CXComment_Paragraph
726// CHECK-NEXT: (CXComment_Text Text=[ Blah blah]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000727// CHECK: annotate-comments.cpp:327: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="327" 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>]
Dmitri Gribenkof0d151c2012-08-01 00:48:00 +0000728// CHECK-NEXT: CommentAST=[
729// CHECK-NEXT: (CXComment_FullComment
730// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
731// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
732// CHECK-NEXT: (CXComment_TParamCommand ParamName=[T] ParamPosition={0}
733// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
734// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
735// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0
736// CHECK-NEXT: (CXComment_Paragraph
737// CHECK-NEXT: (CXComment_Text Text=[ Blah blah]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000738// CHECK: annotate-comments.cpp:332: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="332" 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; void 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>]
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000739// CHECK-NEXT: CommentAST=[
740// CHECK-NEXT: (CXComment_FullComment
741// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
742// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
743// CHECK-NEXT: (CXComment_TParamCommand ParamName=[T2] ParamPosition={1}
744// CHECK-NEXT: (CXComment_Paragraph
745// CHECK-NEXT: (CXComment_Text Text=[ Bbb] HasTrailingNewline)
746// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
747// CHECK-NEXT: (CXComment_TParamCommand ParamName=[T1] ParamPosition={0}
748// CHECK-NEXT: (CXComment_Paragraph
749// CHECK-NEXT: (CXComment_Text Text=[ Aaa]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000750// CHECK: annotate-comments.cpp:339: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="339" 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; void 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>]
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000751// CHECK-NEXT: CommentAST=[
752// CHECK-NEXT: (CXComment_FullComment
753// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
754// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
755// CHECK-NEXT: (CXComment_TParamCommand ParamName=[T2] ParamPosition={1}
756// CHECK-NEXT: (CXComment_Paragraph
757// CHECK-NEXT: (CXComment_Text Text=[ Bbb] HasTrailingNewline)
758// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
759// CHECK-NEXT: (CXComment_TParamCommand ParamName=[U] ParamPosition=Invalid
760// CHECK-NEXT: (CXComment_Paragraph
761// CHECK-NEXT: (CXComment_Text Text=[ Zzz] HasTrailingNewline)
762// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
763// CHECK-NEXT: (CXComment_TParamCommand ParamName=[V] ParamPosition={2}
764// CHECK-NEXT: (CXComment_Paragraph
765// CHECK-NEXT: (CXComment_Text Text=[ Ccc] HasTrailingNewline)
766// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
767// CHECK-NEXT: (CXComment_TParamCommand ParamName=[T1] ParamPosition={0}
768// CHECK-NEXT: (CXComment_Paragraph
769// CHECK-NEXT: (CXComment_Text Text=[ Aaa]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000770// CHECK: annotate-comments.cpp:346: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="346" 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; void comment_to_html_conversion_21()</Declaration><TemplateParameters><Parameter><Name>TTT</Name><Index>0</Index><Discussion><Para> Ddd </Para></Discussion></Parameter><Parameter><Name>C</Name><Discussion><Para> Ccc </Para></Discussion></Parameter><Parameter><Name>T</Name><Discussion><Para> Aaa </Para></Discussion></Parameter><Parameter><Name>TT</Name><Discussion><Para> Bbb</Para></Discussion></Parameter></TemplateParameters></Function>]
Dmitri Gribenko96b09862012-07-31 22:37:06 +0000771// CHECK-NEXT: CommentAST=[
772// CHECK-NEXT: (CXComment_FullComment
773// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
774// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
775// CHECK-NEXT: (CXComment_TParamCommand ParamName=[TTT] ParamPosition={0}
776// CHECK-NEXT: (CXComment_Paragraph
777// CHECK-NEXT: (CXComment_Text Text=[ Ddd] HasTrailingNewline)
778// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
779// CHECK-NEXT: (CXComment_TParamCommand ParamName=[C] ParamPosition={0, 1}
780// CHECK-NEXT: (CXComment_Paragraph
781// CHECK-NEXT: (CXComment_Text Text=[ Ccc] HasTrailingNewline)
782// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
783// CHECK-NEXT: (CXComment_TParamCommand ParamName=[T] ParamPosition={0, 0, 0}
784// CHECK-NEXT: (CXComment_Paragraph
785// CHECK-NEXT: (CXComment_Text Text=[ Aaa] HasTrailingNewline)
786// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
787// CHECK-NEXT: (CXComment_TParamCommand ParamName=[TT] ParamPosition={0, 0}
788// CHECK-NEXT: (CXComment_Paragraph
789// CHECK-NEXT: (CXComment_Text Text=[ Bbb]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000790// CHECK: annotate-comments.cpp:355: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="355" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000791// CHECK-NEXT: CommentAST=[
792// CHECK-NEXT: (CXComment_FullComment
793// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
794// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
795// CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
796// CHECK-NEXT: (CXComment_Paragraph
797// CHECK-NEXT: (CXComment_Text Text=[ Aaa.])))
798// CHECK-NEXT: (CXComment_Paragraph
799// CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))
800// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
801// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
802// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1
803// CHECK-NEXT: (CXComment_Paragraph
804// CHECK-NEXT: (CXComment_Text Text=[ Ddd.] HasTrailingNewline)
805// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
806// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0
807// CHECK-NEXT: (CXComment_Paragraph
808// CHECK-NEXT: (CXComment_Text Text=[ Ccc.] HasTrailingNewline)
809// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
810// CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns]
811// CHECK-NEXT: (CXComment_Paragraph
812// CHECK-NEXT: (CXComment_Text Text=[ Eee.]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000813// CHECK: annotate-comments.cpp:358: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="358" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000814// CHECK-NEXT: CommentAST=[
815// CHECK-NEXT: (CXComment_FullComment
816// CHECK-NEXT: (CXComment_Paragraph
817// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
818// CHECK-NEXT: (CXComment_HTMLStartTag Name=[br])
819// CHECK-NEXT: (CXComment_HTMLStartTag Name=[a] Attrs: href=http://example.com/)
820// CHECK-NEXT: (CXComment_Text Text=[Aaa])
821// CHECK-NEXT: (CXComment_HTMLEndTag Name=[a])))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000822// CHECK: annotate-comments.cpp:364: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="364" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000823// CHECK-NEXT: CommentAST=[
824// CHECK-NEXT: (CXComment_FullComment
825// CHECK-NEXT: (CXComment_Paragraph IsWhitespace
826// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
827// CHECK-NEXT: (CXComment_VerbatimBlockCommand CommandName=[verbatim]
828// CHECK-NEXT: (CXComment_VerbatimBlockLine Text=[ <a href="http://example.com/">Aaa</a>])
829// CHECK-NEXT: (CXComment_VerbatimBlockLine Text=[ <a href='http://example.com/'>Aaa</a>])))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000830// CHECK: annotate-comments.cpp:371:6: FunctionDecl=comment_to_html_conversion_25:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Blah blah.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="371" 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>]
Dmitri Gribenko62290ae2012-08-09 18:20:29 +0000831// CHECK: CommentAST=[
832// CHECK: (CXComment_FullComment
833// CHECK: (CXComment_Paragraph IsWhitespace
834// CHECK: (CXComment_Text Text=[ ] IsWhitespace))
835// CHECK: (CXComment_VerbatimLine Text=[ foo])
836// CHECK: (CXComment_Paragraph IsWhitespace
837// CHECK: (CXComment_Text Text=[ ] IsWhitespace))
838// CHECK: (CXComment_VerbatimLine Text=[ foo])
839// CHECK: (CXComment_Paragraph IsWhitespace
840// CHECK: (CXComment_Text Text=[ ] IsWhitespace))
841// CHECK: (CXComment_VerbatimLine Text=[ foo])
842// CHECK: (CXComment_Paragraph IsWhitespace
843// CHECK: (CXComment_Text Text=[ ] IsWhitespace))
844// CHECK: (CXComment_VerbatimLine Text=[ foo])
845// CHECK: (CXComment_Paragraph
846// CHECK: (CXComment_Text Text=[ Blah blah.])))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000847// CHECK: annotate-comments.cpp:374:6: FunctionDecl=comment_to_html_conversion_26:{{.*}} FullCommentAsHTML=[<p class="para-brief"> </p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="374" 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>]
Dmitri Gribenkoe4330a32012-09-10 20:32:42 +0000848// CHECK: CommentAST=[
849// CHECK: (CXComment_FullComment
850// CHECK: (CXComment_Paragraph
851// CHECK: (CXComment_Text Text=[ ] IsWhitespace)
852// CHECK: (CXComment_InlineCommand CommandName=[unknown] RenderNormal)))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000853// CHECK: annotate-comments.cpp:377:6: FunctionDecl=comment_to_html_conversion_27:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <b>Aaa</b></p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="377" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000854// CHECK-NEXT: CommentAST=[
855// CHECK-NEXT: (CXComment_FullComment
856// CHECK-NEXT: (CXComment_Paragraph
857// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
Dmitri Gribenko2d66a502012-07-23 16:43:01 +0000858// CHECK-NEXT: (CXComment_InlineCommand CommandName=[b] RenderBold Arg[0]=Aaa)))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000859// CHECK: annotate-comments.cpp:380:6: FunctionDecl=comment_to_html_conversion_28:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <tt>Aaa</tt> <tt>Bbb</tt></p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="380" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000860// CHECK-NEXT: CommentAST=[
861// CHECK-NEXT: (CXComment_FullComment
862// CHECK-NEXT: (CXComment_Paragraph
863// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
Dmitri Gribenko2d66a502012-07-23 16:43:01 +0000864// CHECK-NEXT: (CXComment_InlineCommand CommandName=[c] RenderMonospaced Arg[0]=Aaa)
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000865// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
Dmitri Gribenko2d66a502012-07-23 16:43:01 +0000866// CHECK-NEXT: (CXComment_InlineCommand CommandName=[p] RenderMonospaced Arg[0]=Bbb)))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000867// CHECK: annotate-comments.cpp:383: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="{{[^"]+}}annotate-comments.cpp" line="383" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000868// CHECK-NEXT: CommentAST=[
869// CHECK-NEXT: (CXComment_FullComment
870// CHECK-NEXT: (CXComment_Paragraph
871// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
Dmitri Gribenko2d66a502012-07-23 16:43:01 +0000872// CHECK-NEXT: (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=Aaa)
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000873// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
Dmitri Gribenko2d66a502012-07-23 16:43:01 +0000874// CHECK-NEXT: (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=Bbb)
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000875// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
Dmitri Gribenko2d66a502012-07-23 16:43:01 +0000876// CHECK-NEXT: (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=Ccc)))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000877// CHECK: annotate-comments.cpp:386: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="{{[^"]+}}annotate-comments.cpp" line="386" 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>]
Dmitri Gribenko59500fe2012-08-01 00:21:12 +0000878// CHECK-NEXT: CommentAST=[
879// CHECK-NEXT: (CXComment_FullComment
880// CHECK-NEXT: (CXComment_Paragraph
881// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
882// CHECK-NEXT: (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=1<2)
883// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
884// CHECK-NEXT: (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=3<4)
885// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
886// CHECK-NEXT: (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=5<6)
887// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
888// CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[7<8] ParamIndex=Invalid
889// CHECK-NEXT: (CXComment_Paragraph
890// CHECK-NEXT: (CXComment_Text Text=[ aaa ])))
891// CHECK-NEXT: (CXComment_TParamCommand ParamName=[9<10] ParamPosition=Invalid
892// CHECK-NEXT: (CXComment_Paragraph
893// CHECK-NEXT: (CXComment_Text Text=[ bbb]))))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000894// CHECK: annotate-comments.cpp:389:6: FunctionDecl=comment_to_html_conversion_31:{{.*}} FullCommentAsHTML=[<p class="para-brief"> \ @ &amp; $ # &lt; &gt; % &quot; . ::</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="389" 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>]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000895// CHECK-NEXT: CommentAST=[
896// CHECK-NEXT: (CXComment_FullComment
897// CHECK-NEXT: (CXComment_Paragraph
898// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
899// CHECK-NEXT: (CXComment_Text Text=[\])
900// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
901// CHECK-NEXT: (CXComment_Text Text=[@])
902// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
903// CHECK-NEXT: (CXComment_Text Text=[&])
904// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
905// CHECK-NEXT: (CXComment_Text Text=[$])
906// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
907// CHECK-NEXT: (CXComment_Text Text=[#])
908// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
909// CHECK-NEXT: (CXComment_Text Text=[<])
910// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
911// CHECK-NEXT: (CXComment_Text Text=[>])
912// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
913// CHECK-NEXT: (CXComment_Text Text=[%])
914// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
915// CHECK-NEXT: (CXComment_Text Text=["])
916// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
917// CHECK-NEXT: (CXComment_Text Text=[.])
918// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
919// CHECK-NEXT: (CXComment_Text Text=[::])))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000920// CHECK: annotate-comments.cpp:392:6: FunctionDecl=comment_to_html_conversion_32:{{.*}} FullCommentAsHTML=[<p class="para-brief"> &amp; &lt; &gt; &quot;</p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="392" column="6"><Name>comment_to_html_conversion_32</Name><USR>c:@F@comment_to_html_conversion_32#</USR><Declaration>void comment_to_html_conversion_32()</Declaration><Abstract><Para> &amp; &lt; &gt; &quot;</Para></Abstract></Function>]
Dmitri Gribenko477a9f52012-07-27 20:37:06 +0000921// CHECK-NEXT: CommentAST=[
922// CHECK-NEXT: (CXComment_FullComment
923// CHECK-NEXT: (CXComment_Paragraph
924// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
925// CHECK-NEXT: (CXComment_Text Text=[&])
926// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
927// CHECK-NEXT: (CXComment_Text Text=[<])
928// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
929// CHECK-NEXT: (CXComment_Text Text=[>])
930// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
931// CHECK-NEXT: (CXComment_Text Text=["])))]
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000932// CHECK: annotate-comments.cpp:395:6: FunctionDecl=comment_to_html_conversion_33:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <em>0&lt;i</em></p>] FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments.cpp" line="395" 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>]
Dmitri Gribenko477a9f52012-07-27 20:37:06 +0000933// CHECK-NEXT: CommentAST=[
934// CHECK-NEXT: (CXComment_FullComment
935// CHECK-NEXT: (CXComment_Paragraph
936// CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
937// CHECK-NEXT: (CXComment_HTMLStartTag Name=[em])
938// CHECK-NEXT: (CXComment_Text Text=[0])
939// CHECK-NEXT: (CXComment_Text Text=[<])
940// CHECK-NEXT: (CXComment_Text Text=[i])
941// CHECK-NEXT: (CXComment_HTMLEndTag Name=[em])))]
Dmitri Gribenkoae99b752012-07-20 21:34:34 +0000942
Fariborz Jahanian7ba2b452012-10-18 17:19:41 +0000943// CHECK: annotate-comments.cpp:398:7: ClassDecl=comment_to_xml_conversion_01:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}annotate-comments.cpp" line="398" column="7"><Name>comment_to_xml_conversion_01</Name><USR>c:@C@comment_to_xml_conversion_01</USR><Declaration>class comment_to_xml_conversion_01 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
944// CHECK: annotate-comments.cpp:400:3: CXXConstructor=comment_to_xml_conversion_01:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="400" 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></Declaration><Parameters><Parameter><Name>aaa</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Blah blah.</Para></Discussion></Parameter></Parameters></Function>]
945// CHECK: annotate-comments.cpp:403:3: CXXDestructor=~comment_to_xml_conversion_01:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="403" 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>]
946// CHECK: annotate-comments.cpp:406:7: CXXMethod=comment_to_xml_conversion_02:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="406" 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>]
947// CHECK: annotate-comments.cpp:409:14: CXXMethod=comment_to_xml_conversion_03:{{.*}} FullCommentAsXML=[<Function isClassMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="409" 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>]
948// CHECK: annotate-comments.cpp:412:7: FieldDecl=comment_to_xml_conversion_04:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}annotate-comments.cpp" line="412" 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>]
949// CHECK: annotate-comments.cpp:415:14: VarDecl=comment_to_xml_conversion_05:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}annotate-comments.cpp" line="415" 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>]
950// CHECK: annotate-comments.cpp:418:8: CXXMethod=operator():{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="418" 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>]
951// CHECK: annotate-comments.cpp:421:3: CXXConversion=operator _Bool:{{.*}} FullCommentAsXML=[<Function isInstanceMethod="1" file="{{[^"]+}}annotate-comments.cpp" line="421" 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>]
952// CHECK: annotate-comments.cpp:424:15: TypedefDecl=comment_to_xml_conversion_06:{{.*}} FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments.cpp" line="424" column="15"><Name>comment_to_xml_conversion_06</Name><USR>c:annotate-comments.cpp@8505@C@comment_to_xml_conversion_01@T@comment_to_xml_conversion_06</USR><Declaration>typedef int comment_to_xml_conversion_06</Declaration><Abstract><Para> Aaa.</Para></Abstract></Typedef>]
953// CHECK: annotate-comments.cpp:427:9: TypeAliasDecl=comment_to_xml_conversion_07:{{.*}} FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments.cpp" line="427" 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>]
954// CHECK: annotate-comments.cpp:434:3: UnexposedDecl=comment_to_xml_conversion_09:{{.*}} FullCommentAsXML=[<Typedef file="{{[^"]+}}annotate-comments.cpp" line="434" 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; using comment_to_xml_conversion_09 = comment_to_xml_conversion_08&lt;T, int&gt;</Declaration><Abstract><Para> Aaa.</Para></Abstract></Typedef>]
955// CHECK: annotate-comments.cpp:439:6: FunctionTemplate=comment_to_xml_conversion_10:{{.*}} FullCommentAsXML=[<Function templateKind="template" file="{{[^"]+}}annotate-comments.cpp" line="439" column="6"><Name>comment_to_xml_conversion_10</Name><USR>c:@FT@&gt;2#T#Tcomment_to_xml_conversion_10#t0.0#t0.1#</USR><Declaration>template &lt;typename T = int, typename U = int&gt; void comment_to_xml_conversion_10(int aaa, int bbb)template &lt;typename T, typename U&gt; void comment_to_xml_conversion_10(T aaa, U bbb)</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>]
956// CHECK: annotate-comments.cpp:443:6: FunctionDecl=comment_to_xml_conversion_10:{{.*}} FullCommentAsXML=[<Function templateKind="specialization" file="{{[^"]+}}annotate-comments.cpp" line="443" 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>]
957// CHECK: annotate-comments.cpp:447:7: ClassTemplate=comment_to_xml_conversion_11:{{.*}} FullCommentAsXML=[<Class templateKind="template" file="{{[^"]+}}annotate-comments.cpp" line="447" column="7"><Name>comment_to_xml_conversion_11</Name><USR>c:@CT&gt;2#T#T@comment_to_xml_conversion_11</USR><Declaration>template &lt;typename T = int, typename U = int&gt; class comment_to_xml_conversion_11 {\n}\ntemplate &lt;typename T, typename U&gt; class comment_to_xml_conversion_11 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
958// CHECK: annotate-comments.cpp:451:7: ClassTemplatePartialSpecialization=comment_to_xml_conversion_11:{{.*}} FullCommentAsXML=[<Class templateKind="partialSpecialization" file="{{[^"]+}}annotate-comments.cpp" line="451" column="7"><Name>comment_to_xml_conversion_11</Name><USR>c:@CP&gt;1#T@comment_to_xml_conversion_11&gt;#t0.0#I</USR><Declaration>class comment_to_xml_conversion_11 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
959// CHECK: annotate-comments.cpp:455:7: ClassDecl=comment_to_xml_conversion_11:{{.*}} FullCommentAsXML=[<Class templateKind="specialization" file="{{[^"]+}}annotate-comments.cpp" line="455" column="7"><Name>comment_to_xml_conversion_11</Name><USR>c:@C@comment_to_xml_conversion_11&gt;#I#I</USR><Declaration>class comment_to_xml_conversion_11 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>]
960// CHECK: annotate-comments.cpp:458:5: VarDecl=comment_to_xml_conversion_12:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}annotate-comments.cpp" line="458" 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>]
961// CHECK: annotate-comments.cpp:461:11: Namespace=comment_to_xml_conversion_13:{{.*}} FullCommentAsXML=[<Namespace file="{{[^"]+}}annotate-comments.cpp" line="461" column="11"><Name>comment_to_xml_conversion_13</Name><USR>c:@N@comment_to_xml_conversion_13</USR><Declaration>namespace comment_to_xml_conversion_13 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Namespace>]
962// CHECK: annotate-comments.cpp:463:13: Namespace=comment_to_xml_conversion_14:{{.*}} FullCommentAsXML=[<Namespace file="{{[^"]+}}annotate-comments.cpp" line="463" column="13"><Name>comment_to_xml_conversion_14</Name><USR>c:@N@comment_to_xml_conversion_13@N@comment_to_xml_conversion_14</USR><Declaration>namespace comment_to_xml_conversion_14 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Namespace>]
963// CHECK: annotate-comments.cpp:468:6: EnumDecl=comment_to_xml_conversion_15:{{.*}} FullCommentAsXML=[<Enum file="{{[^"]+}}annotate-comments.cpp" line="468" 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 {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Enum>]
964// CHECK: annotate-comments.cpp:470:3: EnumConstantDecl=comment_to_xml_conversion_16:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}annotate-comments.cpp" line="470" 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>]
965// CHECK: annotate-comments.cpp:474:12: EnumDecl=comment_to_xml_conversion_17:{{.*}} FullCommentAsXML=[<Enum file="{{[^"]+}}annotate-comments.cpp" line="474" column="12"><Name>comment_to_xml_conversion_17</Name><USR>c:@E@comment_to_xml_conversion_17</USR><Declaration>enum class comment_to_xml_conversion_17 : int {\n}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Enum>]
966// CHECK: annotate-comments.cpp:476:3: EnumConstantDecl=comment_to_xml_conversion_18:{{.*}} FullCommentAsXML=[<Variable file="{{[^"]+}}annotate-comments.cpp" line="476" 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>]