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