annotate clang/test/Index/annotate-comments.cpp @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // Run lines are sensitive to line numbers and come below the code.
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 #ifndef HEADER
anatofuz
parents:
diff changeset
4 #define HEADER
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 // Not a Doxygen comment. NOT_DOXYGEN
anatofuz
parents:
diff changeset
7 void notdoxy1(void);
anatofuz
parents:
diff changeset
8
anatofuz
parents:
diff changeset
9 /* Not a Doxygen comment. NOT_DOXYGEN */
anatofuz
parents:
diff changeset
10 void notdoxy2(void);
anatofuz
parents:
diff changeset
11
anatofuz
parents:
diff changeset
12 /*/ Not a Doxygen comment. NOT_DOXYGEN */
anatofuz
parents:
diff changeset
13 void notdoxy3(void);
anatofuz
parents:
diff changeset
14
anatofuz
parents:
diff changeset
15 /** Doxygen comment. isdoxy4 IS_DOXYGEN_SINGLE */
anatofuz
parents:
diff changeset
16 void isdoxy4(void);
anatofuz
parents:
diff changeset
17
anatofuz
parents:
diff changeset
18 /**
anatofuz
parents:
diff changeset
19 * Doxygen comment. isdoxy5 IS_DOXYGEN_SINGLE */
anatofuz
parents:
diff changeset
20 void isdoxy5(void);
anatofuz
parents:
diff changeset
21
anatofuz
parents:
diff changeset
22 /**
anatofuz
parents:
diff changeset
23 * Doxygen comment.
anatofuz
parents:
diff changeset
24 * isdoxy6 IS_DOXYGEN_SINGLE */
anatofuz
parents:
diff changeset
25 void isdoxy6(void);
anatofuz
parents:
diff changeset
26
anatofuz
parents:
diff changeset
27 /**
anatofuz
parents:
diff changeset
28 * Doxygen comment.
anatofuz
parents:
diff changeset
29 * isdoxy7 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
30 */
anatofuz
parents:
diff changeset
31 void isdoxy7(void);
anatofuz
parents:
diff changeset
32
anatofuz
parents:
diff changeset
33 /*! Doxygen comment. isdoxy8 IS_DOXYGEN_SINGLE */
anatofuz
parents:
diff changeset
34 void isdoxy8(void);
anatofuz
parents:
diff changeset
35
anatofuz
parents:
diff changeset
36 /// Doxygen comment. isdoxy9 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
37 void isdoxy9(void);
anatofuz
parents:
diff changeset
38
anatofuz
parents:
diff changeset
39 // Not a Doxygen comment. NOT_DOXYGEN
anatofuz
parents:
diff changeset
40 /// Doxygen comment. isdoxy10 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
41 void isdoxy10(void);
anatofuz
parents:
diff changeset
42
anatofuz
parents:
diff changeset
43 /// Doxygen comment. isdoxy11 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
44 // Not a Doxygen comment. NOT_DOXYGEN
anatofuz
parents:
diff changeset
45 void isdoxy11(void);
anatofuz
parents:
diff changeset
46
anatofuz
parents:
diff changeset
47 /** Doxygen comment. isdoxy12 IS_DOXYGEN_SINGLE */
anatofuz
parents:
diff changeset
48 /* Not a Doxygen comment. NOT_DOXYGEN */
anatofuz
parents:
diff changeset
49 void isdoxy12(void);
anatofuz
parents:
diff changeset
50
anatofuz
parents:
diff changeset
51 /// Doxygen comment. isdoxy13 IS_DOXYGEN_START
anatofuz
parents:
diff changeset
52 /// Doxygen comment. IS_DOXYGEN_END
anatofuz
parents:
diff changeset
53 void isdoxy13(void);
anatofuz
parents:
diff changeset
54
anatofuz
parents:
diff changeset
55 /// Doxygen comment. isdoxy14 IS_DOXYGEN_START
anatofuz
parents:
diff changeset
56 /// Blah-blah-blah.
anatofuz
parents:
diff changeset
57 /// Doxygen comment. IS_DOXYGEN_END
anatofuz
parents:
diff changeset
58 void isdoxy14(void);
anatofuz
parents:
diff changeset
59
anatofuz
parents:
diff changeset
60 /// Doxygen comment. isdoxy15 IS_DOXYGEN_START
anatofuz
parents:
diff changeset
61 /** Blah-blah-blah */
anatofuz
parents:
diff changeset
62 /// Doxygen comment. IS_DOXYGEN_END
anatofuz
parents:
diff changeset
63 void isdoxy15(void);
anatofuz
parents:
diff changeset
64
anatofuz
parents:
diff changeset
65 /** Blah-blah-blah. isdoxy16 IS_DOXYGEN_START *//** Blah */
anatofuz
parents:
diff changeset
66 /// Doxygen comment. IS_DOXYGEN_END
anatofuz
parents:
diff changeset
67 void isdoxy16(void);
anatofuz
parents:
diff changeset
68
anatofuz
parents:
diff changeset
69 /// NOT_DOXYGEN
anatofuz
parents:
diff changeset
70 // NOT_DOXYGEN
anatofuz
parents:
diff changeset
71 /// isdoxy17 IS_DOXYGEN_START IS_DOXYGEN_END
anatofuz
parents:
diff changeset
72 void isdoxy17(void);
anatofuz
parents:
diff changeset
73
anatofuz
parents:
diff changeset
74 unsigned
anatofuz
parents:
diff changeset
75 // NOT_DOXYGEN
anatofuz
parents:
diff changeset
76 /// NOT_DOXYGEN
anatofuz
parents:
diff changeset
77 // NOT_DOXYGEN
anatofuz
parents:
diff changeset
78 /// isdoxy18 IS_DOXYGEN_START IS_DOXYGEN_END
anatofuz
parents:
diff changeset
79 // NOT_DOXYGEN
anatofuz
parents:
diff changeset
80 int isdoxy18(void);
anatofuz
parents:
diff changeset
81
anatofuz
parents:
diff changeset
82 //! It all starts here. isdoxy19 IS_DOXYGEN_START
anatofuz
parents:
diff changeset
83 /*! It's a little odd to continue line this,
anatofuz
parents:
diff changeset
84 *
anatofuz
parents:
diff changeset
85 * but we need more multi-line comments. */
anatofuz
parents:
diff changeset
86 /// This comment comes before my other comments
anatofuz
parents:
diff changeset
87 /** This is a block comment that is associated with the function f. It
anatofuz
parents:
diff changeset
88 * runs for three lines. IS_DOXYGEN_END
anatofuz
parents:
diff changeset
89 */
anatofuz
parents:
diff changeset
90 void isdoxy19(int, int);
anatofuz
parents:
diff changeset
91
anatofuz
parents:
diff changeset
92 // NOT IN THE COMMENT NOT_DOXYGEN
anatofuz
parents:
diff changeset
93 /// This is a BCPL comment. isdoxy20 IS_DOXYGEN_START
anatofuz
parents:
diff changeset
94 /// It has only two lines.
anatofuz
parents:
diff changeset
95 /** But there are other blocks that are part of the comment, too. IS_DOXYGEN_END */
anatofuz
parents:
diff changeset
96 void isdoxy20(int);
anatofuz
parents:
diff changeset
97
anatofuz
parents:
diff changeset
98 void notdoxy21(int); ///< This is a member comment. isdoxy21 IS_DOXYGEN_NOT_ATTACHED
anatofuz
parents:
diff changeset
99
anatofuz
parents:
diff changeset
100 void notdoxy22(int); /*!< This is a member comment. isdoxy22 IS_DOXYGEN_NOT_ATTACHED */
anatofuz
parents:
diff changeset
101
anatofuz
parents:
diff changeset
102 void notdoxy23(int); /**< This is a member comment. isdoxy23 IS_DOXYGEN_NOT_ATTACHED */
anatofuz
parents:
diff changeset
103
anatofuz
parents:
diff changeset
104 void notdoxy24(int); // NOT_DOXYGEN
anatofuz
parents:
diff changeset
105
anatofuz
parents:
diff changeset
106 /// IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
107 struct isdoxy25 {
anatofuz
parents:
diff changeset
108 };
anatofuz
parents:
diff changeset
109
anatofuz
parents:
diff changeset
110 struct test26 {
anatofuz
parents:
diff changeset
111 /// IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
112 int isdoxy26;
anatofuz
parents:
diff changeset
113 };
anatofuz
parents:
diff changeset
114
anatofuz
parents:
diff changeset
115 struct test27 {
anatofuz
parents:
diff changeset
116 int isdoxy27; ///< IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
117 };
anatofuz
parents:
diff changeset
118
anatofuz
parents:
diff changeset
119 struct notdoxy28 {
anatofuz
parents:
diff changeset
120 }; ///< IS_DOXYGEN_NOT_ATTACHED
anatofuz
parents:
diff changeset
121
anatofuz
parents:
diff changeset
122 /// IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
123 enum isdoxy29 {
anatofuz
parents:
diff changeset
124 };
anatofuz
parents:
diff changeset
125
anatofuz
parents:
diff changeset
126 enum notdoxy30 {
anatofuz
parents:
diff changeset
127 }; ///< IS_DOXYGEN_NOT_ATTACHED
anatofuz
parents:
diff changeset
128
anatofuz
parents:
diff changeset
129 /// IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
130 namespace isdoxy31 {
anatofuz
parents:
diff changeset
131 };
anatofuz
parents:
diff changeset
132
anatofuz
parents:
diff changeset
133 namespace notdoxy32 {
anatofuz
parents:
diff changeset
134 }; ///< IS_DOXYGEN_NOT_ATTACHED
anatofuz
parents:
diff changeset
135
anatofuz
parents:
diff changeset
136 class test33 {
anatofuz
parents:
diff changeset
137 ///< IS_DOXYGEN_NOT_ATTACHED
anatofuz
parents:
diff changeset
138 int isdoxy33; ///< isdoxy33 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
139 int isdoxy34; ///< isdoxy34 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
140
anatofuz
parents:
diff changeset
141 ///< IS_DOXYGEN_NOT_ATTACHED
anatofuz
parents:
diff changeset
142 int isdoxy35, ///< isdoxy35 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
143 isdoxy36; ///< isdoxy36 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
144
anatofuz
parents:
diff changeset
145 ///< IS_DOXYGEN_NOT_ATTACHED
anatofuz
parents:
diff changeset
146 int isdoxy37 ///< isdoxy37 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
147 , isdoxy38 ///< isdoxy38 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
148 , isdoxy39; ///< isdoxy39 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
149 };
anatofuz
parents:
diff changeset
150
anatofuz
parents:
diff changeset
151 // Verified that Doxygen attaches these.
anatofuz
parents:
diff changeset
152
anatofuz
parents:
diff changeset
153 /// isdoxy40 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
154 // NOT_DOXYGEN
anatofuz
parents:
diff changeset
155 void isdoxy40(int);
anatofuz
parents:
diff changeset
156
anatofuz
parents:
diff changeset
157 unsigned
anatofuz
parents:
diff changeset
158 /// isdoxy41 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
159 // NOT_DOXYGEN
anatofuz
parents:
diff changeset
160 int isdoxy41(int);
anatofuz
parents:
diff changeset
161
anatofuz
parents:
diff changeset
162 class test42 {
anatofuz
parents:
diff changeset
163 int isdoxy42; /* NOT_DOXYGEN */ ///< isdoxy42 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
164 };
anatofuz
parents:
diff changeset
165
anatofuz
parents:
diff changeset
166 /// IS_DOXYGEN_START
anatofuz
parents:
diff changeset
167 /// It is fine to have a command at the end of comment.
anatofuz
parents:
diff changeset
168 ///\brief
anatofuz
parents:
diff changeset
169 ///
anatofuz
parents:
diff changeset
170 /// Some malformed command.
anatofuz
parents:
diff changeset
171 /** \*/
anatofuz
parents:
diff changeset
172 /**
anatofuz
parents:
diff changeset
173 * \brief Aaa aaaaaaa aaaa.
anatofuz
parents:
diff changeset
174 * IS_DOXYGEN_END
anatofuz
parents:
diff changeset
175 */
anatofuz
parents:
diff changeset
176 void isdoxy43(void);
anatofuz
parents:
diff changeset
177
anatofuz
parents:
diff changeset
178 /// IS_DOXYGEN_START Aaa bbb
anatofuz
parents:
diff changeset
179 /// ccc.
anatofuz
parents:
diff changeset
180 ///
anatofuz
parents:
diff changeset
181 /// Ddd eee.
anatofuz
parents:
diff changeset
182 /// Fff.
anatofuz
parents:
diff changeset
183 ///
anatofuz
parents:
diff changeset
184 /// Ggg. IS_DOXYGEN_END
anatofuz
parents:
diff changeset
185 void isdoxy44(void);
anatofuz
parents:
diff changeset
186
anatofuz
parents:
diff changeset
187 /// IS_DOXYGEN_START Aaa bbb
anatofuz
parents:
diff changeset
188 /// ccc.
anatofuz
parents:
diff changeset
189 ///
anatofuz
parents:
diff changeset
190 /// \brief
anatofuz
parents:
diff changeset
191 /// Ddd eee.
anatofuz
parents:
diff changeset
192 /// Fff.
anatofuz
parents:
diff changeset
193 ///
anatofuz
parents:
diff changeset
194 /// Ggg. IS_DOXYGEN_END
anatofuz
parents:
diff changeset
195 void isdoxy45(void);
anatofuz
parents:
diff changeset
196
anatofuz
parents:
diff changeset
197 /// IS_DOXYGEN_START Aaa bbb
anatofuz
parents:
diff changeset
198 /// ccc.
anatofuz
parents:
diff changeset
199 ///
anatofuz
parents:
diff changeset
200 /// \short
anatofuz
parents:
diff changeset
201 /// Ddd eee.
anatofuz
parents:
diff changeset
202 /// Fff.
anatofuz
parents:
diff changeset
203 ///
anatofuz
parents:
diff changeset
204 /// Ggg. IS_DOXYGEN_END
anatofuz
parents:
diff changeset
205 void isdoxy46(void);
anatofuz
parents:
diff changeset
206
anatofuz
parents:
diff changeset
207 /// IS_DOXYGEN_NOT_ATTACHED
anatofuz
parents:
diff changeset
208 #define FOO
anatofuz
parents:
diff changeset
209 void notdoxy47(void);
anatofuz
parents:
diff changeset
210
anatofuz
parents:
diff changeset
211 /// IS_DOXYGEN_START Aaa bbb
anatofuz
parents:
diff changeset
212 /// \param ccc
anatofuz
parents:
diff changeset
213 /// \returns ddd IS_DOXYGEN_END
anatofuz
parents:
diff changeset
214 void isdoxy48(int);
anatofuz
parents:
diff changeset
215
anatofuz
parents:
diff changeset
216 /// \brief IS_DOXYGEN_START Aaa
anatofuz
parents:
diff changeset
217 /// \returns bbb IS_DOXYGEN_END
anatofuz
parents:
diff changeset
218 void isdoxy49(void);
anatofuz
parents:
diff changeset
219
anatofuz
parents:
diff changeset
220 /// \param ccc IS_DOXYGEN_START
anatofuz
parents:
diff changeset
221 /// \returns ddd IS_DOXYGEN_END
anatofuz
parents:
diff changeset
222 void isdoxy50(int);
anatofuz
parents:
diff changeset
223
anatofuz
parents:
diff changeset
224 // One of the following lines has trailing whitespace. It is intended, don't
anatofuz
parents:
diff changeset
225 // fix it.
anatofuz
parents:
diff changeset
226 /**
anatofuz
parents:
diff changeset
227 * Aaa. IS_DOXYGEN_START
anatofuz
parents:
diff changeset
228 *
anatofuz
parents:
diff changeset
229 * Bbb. IS_DOXYGEN_END
anatofuz
parents:
diff changeset
230 */
anatofuz
parents:
diff changeset
231 void isdoxy51(int);
anatofuz
parents:
diff changeset
232
anatofuz
parents:
diff changeset
233 // One of the following lines has trailing whitespace. It is intended, don't
anatofuz
parents:
diff changeset
234 // fix it.
anatofuz
parents:
diff changeset
235 /**
anatofuz
parents:
diff changeset
236 * Aaa. IS_DOXYGEN_START
anatofuz
parents:
diff changeset
237 * Bbb.
anatofuz
parents:
diff changeset
238 *
anatofuz
parents:
diff changeset
239 * Ccc. IS_DOXYGEN_END
anatofuz
parents:
diff changeset
240 */
anatofuz
parents:
diff changeset
241 void isdoxy52(int);
anatofuz
parents:
diff changeset
242
anatofuz
parents:
diff changeset
243 /**
anatofuz
parents:
diff changeset
244 * \fn isdoxy53
anatofuz
parents:
diff changeset
245 *
anatofuz
parents:
diff changeset
246 * Aaa. IS_DOXYGEN_START IS_DOXYGEN_END
anatofuz
parents:
diff changeset
247 */
anatofuz
parents:
diff changeset
248 void isdoxy53(int);
anatofuz
parents:
diff changeset
249
anatofuz
parents:
diff changeset
250 #define MYMAC(x,y)
anatofuz
parents:
diff changeset
251 /**
anatofuz
parents:
diff changeset
252 * Aaa. IS_DOXYGEN_START IS_DOXYGEN_END
anatofuz
parents:
diff changeset
253 */
anatofuz
parents:
diff changeset
254 MYMAC(0,0)
anatofuz
parents:
diff changeset
255 void isdoxy54(int);
anatofuz
parents:
diff changeset
256
anatofuz
parents:
diff changeset
257 #endif
anatofuz
parents:
diff changeset
258
anatofuz
parents:
diff changeset
259 // RUN: rm -rf %t
anatofuz
parents:
diff changeset
260 // RUN: mkdir %t
anatofuz
parents:
diff changeset
261
anatofuz
parents:
diff changeset
262 // Check that we serialize comment source locations properly.
anatofuz
parents:
diff changeset
263 // RUN: %clang_cc1 -x c++ -std=c++11 -emit-pch -o %t/out.pch %s
anatofuz
parents:
diff changeset
264 // RUN: %clang_cc1 -x c++ -std=c++11 -include-pch %t/out.pch -fsyntax-only %s
anatofuz
parents:
diff changeset
265
anatofuz
parents:
diff changeset
266 // RUN: c-index-test -write-pch %t/out.pch -x c++ -std=c++11 %s
anatofuz
parents:
diff changeset
267 // 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
anatofuz
parents:
diff changeset
268 // RUN: c-index-test -test-load-tu %t/out.pch all > %t/out.c-index-pch
anatofuz
parents:
diff changeset
269
anatofuz
parents:
diff changeset
270 // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-direct
anatofuz
parents:
diff changeset
271 // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-pch
anatofuz
parents:
diff changeset
272
anatofuz
parents:
diff changeset
273 // Declarations without Doxygen comments should not pick up some Doxygen comments.
anatofuz
parents:
diff changeset
274 // WRONG-NOT: notdoxy{{.*}}Comment=
anatofuz
parents:
diff changeset
275 // WRONG-NOT: test{{.*}}Comment=
anatofuz
parents:
diff changeset
276
anatofuz
parents:
diff changeset
277 // Non-Doxygen comments should not be attached to anything.
anatofuz
parents:
diff changeset
278 // WRONG-NOT: NOT_DOXYGEN
anatofuz
parents:
diff changeset
279
anatofuz
parents:
diff changeset
280 // Some Doxygen comments are not attached to anything.
anatofuz
parents:
diff changeset
281 // WRONG-NOT: IS_DOXYGEN_NOT_ATTACHED
anatofuz
parents:
diff changeset
282
anatofuz
parents:
diff changeset
283 // Ensure we don't pick up extra comments.
anatofuz
parents:
diff changeset
284 // WRONG-NOT: IS_DOXYGEN_START{{.*}}IS_DOXYGEN_START{{.*}}BriefComment=
anatofuz
parents:
diff changeset
285 // WRONG-NOT: IS_DOXYGEN_END{{.*}}IS_DOXYGEN_END{{.*}}BriefComment=
anatofuz
parents:
diff changeset
286 //
anatofuz
parents:
diff changeset
287 // Ensure that XML is not invalid
anatofuz
parents:
diff changeset
288 // WRONG-NOT: CommentXMLInvalid
anatofuz
parents:
diff changeset
289
anatofuz
parents:
diff changeset
290 // RUN: FileCheck %s < %t/out.c-index-direct
anatofuz
parents:
diff changeset
291 // RUN: FileCheck %s < %t/out.c-index-pch
anatofuz
parents:
diff changeset
292
anatofuz
parents:
diff changeset
293 // These CHECK lines are not located near the code on purpose. This test
anatofuz
parents:
diff changeset
294 // checks that documentation comments are attached to declarations correctly.
anatofuz
parents:
diff changeset
295 // Adding a non-documentation comment with CHECK line between every two
anatofuz
parents:
diff changeset
296 // documentation comments will only test a single code path.
anatofuz
parents:
diff changeset
297 //
anatofuz
parents:
diff changeset
298 // CHECK: annotate-comments.cpp:16:6: FunctionDecl=isdoxy4:{{.*}} isdoxy4 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
299 // CHECK: annotate-comments.cpp:20:6: FunctionDecl=isdoxy5:{{.*}} isdoxy5 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
300 // CHECK: annotate-comments.cpp:25:6: FunctionDecl=isdoxy6:{{.*}} isdoxy6 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
301 // CHECK: annotate-comments.cpp:31:6: FunctionDecl=isdoxy7:{{.*}} isdoxy7 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
302 // CHECK: annotate-comments.cpp:34:6: FunctionDecl=isdoxy8:{{.*}} isdoxy8 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
303 // CHECK: annotate-comments.cpp:37:6: FunctionDecl=isdoxy9:{{.*}} isdoxy9 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
304 // CHECK: annotate-comments.cpp:41:6: FunctionDecl=isdoxy10:{{.*}} isdoxy10 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
305 // CHECK: annotate-comments.cpp:53:6: FunctionDecl=isdoxy13:{{.*}} isdoxy13 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
anatofuz
parents:
diff changeset
306 // CHECK: annotate-comments.cpp:58:6: FunctionDecl=isdoxy14:{{.*}} isdoxy14 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
anatofuz
parents:
diff changeset
307 // CHECK: annotate-comments.cpp:63:6: FunctionDecl=isdoxy15:{{.*}} isdoxy15 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
anatofuz
parents:
diff changeset
308 // CHECK: annotate-comments.cpp:67:6: FunctionDecl=isdoxy16:{{.*}} isdoxy16 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
anatofuz
parents:
diff changeset
309 // CHECK: annotate-comments.cpp:72:6: FunctionDecl=isdoxy17:{{.*}} isdoxy17 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
anatofuz
parents:
diff changeset
310 // CHECK: annotate-comments.cpp:80:5: FunctionDecl=isdoxy18:{{.*}} isdoxy18 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
anatofuz
parents:
diff changeset
311 // CHECK: annotate-comments.cpp:90:6: FunctionDecl=isdoxy19:{{.*}} isdoxy19 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
anatofuz
parents:
diff changeset
312 // CHECK: annotate-comments.cpp:96:6: FunctionDecl=isdoxy20:{{.*}} isdoxy20 IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
anatofuz
parents:
diff changeset
313 // CHECK: annotate-comments.cpp:107:8: StructDecl=isdoxy25:{{.*}} IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
314 // CHECK: annotate-comments.cpp:112:7: FieldDecl=isdoxy26:{{.*}} IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
315 // CHECK: annotate-comments.cpp:116:7: FieldDecl=isdoxy27:{{.*}} IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
316 // CHECK: annotate-comments.cpp:123:6: EnumDecl=isdoxy29:{{.*}} IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
317 // CHECK: annotate-comments.cpp:130:11: Namespace=isdoxy31:{{.*}} IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
318 // CHECK: annotate-comments.cpp:138:7: FieldDecl=isdoxy33:{{.*}} isdoxy33 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
319 // CHECK: annotate-comments.cpp:139:7: FieldDecl=isdoxy34:{{.*}} isdoxy34 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
320 // CHECK: annotate-comments.cpp:142:7: FieldDecl=isdoxy35:{{.*}} isdoxy35 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
321 // CHECK: annotate-comments.cpp:143:7: FieldDecl=isdoxy36:{{.*}} isdoxy36 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
322 // CHECK: annotate-comments.cpp:146:7: FieldDecl=isdoxy37:{{.*}} isdoxy37 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
323 // CHECK: annotate-comments.cpp:147:7: FieldDecl=isdoxy38:{{.*}} isdoxy38 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
324 // CHECK: annotate-comments.cpp:148:7: FieldDecl=isdoxy39:{{.*}} isdoxy39 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
325 // CHECK: annotate-comments.cpp:155:6: FunctionDecl=isdoxy40:{{.*}} isdoxy40 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
326 // CHECK: annotate-comments.cpp:160:5: FunctionDecl=isdoxy41:{{.*}} isdoxy41 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
327 // CHECK: annotate-comments.cpp:163:7: FieldDecl=isdoxy42:{{.*}} isdoxy42 IS_DOXYGEN_SINGLE
anatofuz
parents:
diff changeset
328 // CHECK: annotate-comments.cpp:176:6: FunctionDecl=isdoxy43:{{.*}} IS_DOXYGEN_START{{.*}} IS_DOXYGEN_END
anatofuz
parents:
diff changeset
329
anatofuz
parents:
diff changeset
330 // CHECK: annotate-comments.cpp:185:6: FunctionDecl=isdoxy44:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa bbb ccc.]
anatofuz
parents:
diff changeset
331 // CHECK: annotate-comments.cpp:195:6: FunctionDecl=isdoxy45:{{.*}} BriefComment=[Ddd eee. Fff.]
anatofuz
parents:
diff changeset
332 // CHECK: annotate-comments.cpp:205:6: FunctionDecl=isdoxy46:{{.*}} BriefComment=[Ddd eee. Fff.]
anatofuz
parents:
diff changeset
333 // CHECK: annotate-comments.cpp:214:6: FunctionDecl=isdoxy48:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa bbb]
anatofuz
parents:
diff changeset
334 // CHECK: annotate-comments.cpp:218:6: FunctionDecl=isdoxy49:{{.*}} BriefComment=[IS_DOXYGEN_START Aaa]
anatofuz
parents:
diff changeset
335 // CHECK: annotate-comments.cpp:222:6: FunctionDecl=isdoxy50:{{.*}} BriefComment=[Returns ddd IS_DOXYGEN_END]
anatofuz
parents:
diff changeset
336 // CHECK: annotate-comments.cpp:231:6: FunctionDecl=isdoxy51:{{.*}} BriefComment=[Aaa. IS_DOXYGEN_START]
anatofuz
parents:
diff changeset
337 // CHECK: annotate-comments.cpp:241:6: FunctionDecl=isdoxy52:{{.*}} BriefComment=[Aaa. IS_DOXYGEN_START Bbb.]
anatofuz
parents:
diff changeset
338 // CHECK: annotate-comments.cpp:248:6: FunctionDecl=isdoxy53:{{.*}} BriefComment=[Aaa. IS_DOXYGEN_START IS_DOXYGEN_END]
anatofuz
parents:
diff changeset
339 // CHECK: annotate-comments.cpp:255:6: FunctionDecl=isdoxy54:{{.*}} BriefComment=[Aaa. IS_DOXYGEN_START IS_DOXYGEN_END]