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 -write-pch %t/out.pch -x c++ -std=c++11 %s 11 // 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 12 // RUN: c-index-test -test-load-tu %t/out.pch all > %t/out.c-index-pch 13 14 // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-direct 15 // RUN: FileCheck %s -check-prefix=WRONG < %t/out.c-index-pch 16 17 // Ensure that XML is not invalid 18 // WRONG-NOT: CommentXMLInvalid 19 20 // RUN: FileCheck %s < %t/out.c-index-direct 21 // RUN: FileCheck %s < %t/out.c-index-pch 22 23 // XFAIL: msan 24 // XFAIL: valgrind 25 26 #ifndef HEADER 27 #define HEADER 28 29 //===--- 30 // Tests for \brief and its aliases. 31 //===--- 32 33 /// Aaa. 34 void test_cmd_brief_like_1(); 35 36 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_1:{{.*}} BriefComment=[Aaa.] FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_brief_like_1</Name><USR>c:@F@test_cmd_brief_like_1#</USR><Declaration>void test_cmd_brief_like_1()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>] 37 // CHECK-NEXT: CommentAST=[ 38 // CHECK-NEXT: (CXComment_FullComment 39 // CHECK-NEXT: (CXComment_Paragraph 40 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.])))] 41 42 /// \brief Aaa. 43 void test_cmd_brief_like_2(); 44 45 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_2:{{.*}} BriefComment=[Aaa.] FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_brief_like_2</Name><USR>c:@F@test_cmd_brief_like_2#</USR><Declaration>void test_cmd_brief_like_2()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>] 46 // CHECK-NEXT: CommentAST=[ 47 // CHECK-NEXT: (CXComment_FullComment 48 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 49 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 50 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief] 51 // CHECK-NEXT: (CXComment_Paragraph 52 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))] 53 54 /// \short Aaa. 55 void test_cmd_brief_like_3(); 56 57 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_3:{{.*}} BriefComment=[Aaa.] FullCommentAsHTML=[<p class="para-brief"> Aaa.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_brief_like_3</Name><USR>c:@F@test_cmd_brief_like_3#</USR><Declaration>void test_cmd_brief_like_3()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>] 58 // CHECK-NEXT: CommentAST=[ 59 // CHECK-NEXT: (CXComment_FullComment 60 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 61 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 62 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[short] 63 // CHECK-NEXT: (CXComment_Paragraph 64 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))] 65 66 /// Aaa. 67 /// 68 /// \brief Bbb. 69 void test_cmd_brief_like_4(); 70 71 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_4:{{.*}} BriefComment=[Bbb.] 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>test_cmd_brief_like_4</Name><USR>c:@F@test_cmd_brief_like_4#</USR><Declaration>void test_cmd_brief_like_4()</Declaration><Abstract><Para> Bbb.</Para></Abstract><Discussion><Para> Aaa.</Para></Discussion></Function>] 72 // CHECK-NEXT: CommentAST=[ 73 // CHECK-NEXT: (CXComment_FullComment 74 // CHECK-NEXT: (CXComment_Paragraph 75 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.])) 76 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 77 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 78 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief] 79 // CHECK-NEXT: (CXComment_Paragraph 80 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))] 81 82 /// Aaa. 83 /// 84 /// \brief Bbb. 85 /// 86 /// Ccc. 87 void test_cmd_brief_like_5(); 88 89 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_5:{{.*}} BriefComment=[Bbb.] 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>test_cmd_brief_like_5</Name><USR>c:@F@test_cmd_brief_like_5#</USR><Declaration>void test_cmd_brief_like_5()</Declaration><Abstract><Para> Bbb.</Para></Abstract><Discussion><Para> Aaa.</Para><Para> Ccc.</Para></Discussion></Function>] 90 // CHECK-NEXT: CommentAST=[ 91 // CHECK-NEXT: (CXComment_FullComment 92 // CHECK-NEXT: (CXComment_Paragraph 93 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.])) 94 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 95 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 96 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief] 97 // CHECK-NEXT: (CXComment_Paragraph 98 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))) 99 // CHECK-NEXT: (CXComment_Paragraph 100 // CHECK-NEXT: (CXComment_Text Text=[ Ccc.])))] 101 102 /// \brief Aaa. 103 /// \brief Bbb. 104 void test_cmd_brief_like_6(); 105 106 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_6:{{.*}} BriefComment=[Bbb.] 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>test_cmd_brief_like_6</Name><USR>c:@F@test_cmd_brief_like_6#</USR><Declaration>void test_cmd_brief_like_6()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Discussion><Para> Bbb.</Para></Discussion></Function>] 107 // CHECK-NEXT: CommentAST=[ 108 // CHECK-NEXT: (CXComment_FullComment 109 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 110 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 111 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief] 112 // CHECK-NEXT: (CXComment_Paragraph 113 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline) 114 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 115 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief] 116 // CHECK-NEXT: (CXComment_Paragraph 117 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))] 118 119 /// \abstract Aaa. 120 /// 121 /// Bbb. 122 void test_cmd_brief_like_7(); 123 124 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_brief_like_7:{{.*}} BriefComment=[Aaa.] FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><p> Bbb.</p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_brief_like_7</Name><USR>c:@F@test_cmd_brief_like_7#</USR><Declaration>void test_cmd_brief_like_7()</Declaration><Abstract><Para> Aaa.</Para></Abstract><Discussion><Para> Bbb.</Para></Discussion></Function>] 125 // CHECK-NEXT: CommentAST=[ 126 // CHECK-NEXT: (CXComment_FullComment 127 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 128 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 129 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[abstract] 130 // CHECK-NEXT: (CXComment_Paragraph 131 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))) 132 // CHECK-NEXT: (CXComment_Paragraph 133 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.])))] 134 135 //===--- 136 // Tests for \returns and its aliases. 137 //===--- 138 139 /// Aaa. 140 /// 141 /// \return Bbb. 142 void test_cmd_returns_like_1(); 143 144 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_returns_like_1:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Bbb.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_returns_like_1</Name><USR>c:@F@test_cmd_returns_like_1#</USR><Declaration>void test_cmd_returns_like_1()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Bbb.</Para></ResultDiscussion></Function>] 145 146 // CHECK-NEXT: CommentAST=[ 147 // CHECK-NEXT: (CXComment_FullComment 148 // CHECK-NEXT: (CXComment_Paragraph 149 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.])) 150 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 151 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 152 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[return] 153 // CHECK-NEXT: (CXComment_Paragraph 154 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))] 155 156 /// Aaa. 157 /// 158 /// \returns Bbb. 159 void test_cmd_returns_like_2(); 160 161 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_returns_like_2:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Bbb.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_returns_like_2</Name><USR>c:@F@test_cmd_returns_like_2#</USR><Declaration>void test_cmd_returns_like_2()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Bbb.</Para></ResultDiscussion></Function>] 162 // CHECK-NEXT: CommentAST=[ 163 // CHECK-NEXT: (CXComment_FullComment 164 // CHECK-NEXT: (CXComment_Paragraph 165 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.])) 166 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 167 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 168 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns] 169 // CHECK-NEXT: (CXComment_Paragraph 170 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))] 171 172 /// Aaa. 173 /// 174 /// \result Bbb. 175 void test_cmd_returns_like_3(); 176 177 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_returns_like_3:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Bbb.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_returns_like_3</Name><USR>c:@F@test_cmd_returns_like_3#</USR><Declaration>void test_cmd_returns_like_3()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Bbb.</Para></ResultDiscussion></Function>] 178 // CHECK-NEXT: CommentAST=[ 179 // CHECK-NEXT: (CXComment_FullComment 180 // CHECK-NEXT: (CXComment_Paragraph 181 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.])) 182 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 183 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 184 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[result] 185 // CHECK-NEXT: (CXComment_Paragraph 186 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))] 187 188 /// \returns Aaa. 189 /// \returns Bbb. 190 void test_cmd_returns_like_4(); 191 192 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_returns_like_4:{{.*}} FullCommentAsHTML=[<div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Aaa. </p><p class="para-returns"><span class="word-returns">Returns</span> Bbb.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_returns_like_4</Name><USR>c:@F@test_cmd_returns_like_4#</USR><Declaration>void test_cmd_returns_like_4()</Declaration><ResultDiscussion><Para> Aaa. </Para><Para> Bbb.</Para></ResultDiscussion></Function>] 193 // CHECK-NEXT: CommentAST=[ 194 // CHECK-NEXT: (CXComment_FullComment 195 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 196 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 197 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns] 198 // CHECK-NEXT: (CXComment_Paragraph 199 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline) 200 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 201 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns] 202 // CHECK-NEXT: (CXComment_Paragraph 203 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))] 204 205 /// Aaa. 206 /// 207 /// Bbb. 208 /// 209 /// \returns Ccc. 210 void test_cmd_returns_like_5(); 211 212 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_returns_like_5:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa.</p><p> Bbb.</p><div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Ccc.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_returns_like_5</Name><USR>c:@F@test_cmd_returns_like_5#</USR><Declaration>void test_cmd_returns_like_5()</Declaration><Abstract><Para> Aaa.</Para></Abstract><ResultDiscussion><Para> Ccc.</Para></ResultDiscussion><Discussion><Para> Bbb.</Para></Discussion></Function>] 213 // CHECK-NEXT: CommentAST=[ 214 // CHECK-NEXT: (CXComment_FullComment 215 // CHECK-NEXT: (CXComment_Paragraph 216 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.])) 217 // CHECK-NEXT: (CXComment_Paragraph 218 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.])) 219 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 220 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 221 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns] 222 // CHECK-NEXT: (CXComment_Paragraph 223 // CHECK-NEXT: (CXComment_Text Text=[ Ccc.]))))] 224 225 //===--- 226 // Tests for \param. 227 //===--- 228 229 /// \param 230 void test_cmd_param_1(int x1); 231 232 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_1:{{.*}} FullCommentAsHTML=[] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_param_1</Name><USR>c:@F@test_cmd_param_1#I#</USR><Declaration>void test_cmd_param_1(int x1)</Declaration></Function>] 233 // CHECK-NEXT: CommentAST=[ 234 // CHECK-NEXT: (CXComment_FullComment 235 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 236 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 237 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[] ParamIndex=Invalid 238 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace)))] 239 240 /// \param x1 Aaa. 241 void test_cmd_param_2(int x1); 242 243 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_2:{{.*}} 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>test_cmd_param_2</Name><USR>c:@F@test_cmd_param_2#I#</USR><Declaration>void test_cmd_param_2(int x1)</Declaration><Parameters><Parameter><Name>x1</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa.</Para></Discussion></Parameter></Parameters></Function>] 244 // CHECK-NEXT: CommentAST=[ 245 // CHECK-NEXT: (CXComment_FullComment 246 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 247 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 248 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0 249 // CHECK-NEXT: (CXComment_Paragraph 250 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))] 251 252 /// \param zzz Aaa. 253 void test_cmd_param_3(int x1); 254 255 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_3:{{.*}} 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>test_cmd_param_3</Name><USR>c:@F@test_cmd_param_3#I#</USR><Declaration>void test_cmd_param_3(int x1)</Declaration><Parameters><Parameter><Name>zzz</Name><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa.</Para></Discussion></Parameter></Parameters></Function>] 256 // CHECK-NEXT: CommentAST=[ 257 // CHECK-NEXT: (CXComment_FullComment 258 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 259 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 260 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[zzz] ParamIndex=Invalid 261 // CHECK-NEXT: (CXComment_Paragraph 262 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))] 263 264 /// \param x2 Bbb. 265 /// \param x1 Aaa. 266 void test_cmd_param_4(int x1, int x2); 267 268 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_4:{{.*}} 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>test_cmd_param_4</Name><USR>c:@F@test_cmd_param_4#I#I#</USR><Declaration>void test_cmd_param_4(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>] 269 // CHECK-NEXT: CommentAST=[ 270 // CHECK-NEXT: (CXComment_FullComment 271 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 272 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 273 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1 274 // CHECK-NEXT: (CXComment_Paragraph 275 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.] HasTrailingNewline) 276 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 277 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0 278 // CHECK-NEXT: (CXComment_Paragraph 279 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))] 280 281 /// \param x2 Bbb. 282 /// \param zzz Aaa. 283 /// \param x1 Aaa. 284 void test_cmd_param_5(int x1, int x2); 285 286 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_5:{{.*}} 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>test_cmd_param_5</Name><USR>c:@F@test_cmd_param_5#I#I#</USR><Declaration>void test_cmd_param_5(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>] 287 // CHECK-NEXT: CommentAST=[ 288 // CHECK-NEXT: (CXComment_FullComment 289 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 290 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 291 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1 292 // CHECK-NEXT: (CXComment_Paragraph 293 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.] HasTrailingNewline) 294 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 295 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[zzz] ParamIndex=Invalid 296 // CHECK-NEXT: (CXComment_Paragraph 297 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline) 298 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 299 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0 300 // CHECK-NEXT: (CXComment_Paragraph 301 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))))] 302 303 /// \param x1 Aaa. 304 /// \param ... Bbb. 305 void test_cmd_param_6(int x1, ...); 306 307 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_cmd_param_6:{{.*}} FullCommentAsHTML=[<dl><dt class="param-name-index-0">x1</dt><dd class="param-descr-index-0"> Aaa. </dd><dt class="param-name-index-vararg">...</dt><dd class="param-descr-index-vararg"> Bbb.</dd></dl>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_cmd_param_6</Name><USR>c:@F@test_cmd_param_6#I.#</USR><Declaration>void test_cmd_param_6(int x1, ...)</Declaration><Parameters><Parameter><Name>x1</Name><Index>0</Index><Direction isExplicit="0">in</Direction><Discussion><Para> Aaa. </Para></Discussion></Parameter><Parameter><Name>...</Name><IsVarArg /><Direction isExplicit="0">in</Direction><Discussion><Para> Bbb.</Para></Discussion></Parameter></Parameters></Function>] 308 // CHECK-NEXT: CommentAST=[ 309 // CHECK-NEXT: (CXComment_FullComment 310 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 311 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 312 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0 313 // CHECK-NEXT: (CXComment_Paragraph 314 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline) 315 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 316 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[...] ParamIndex=4294967295 317 // CHECK-NEXT: (CXComment_Paragraph 318 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.]))))] 319 320 //===--- 321 // Tests for \tparam. 322 //===--- 323 324 /// \tparam 325 /// \param aaa Blah blah 326 template<typename T> 327 void test_cmd_tparam_1(T aaa); 328 329 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=test_cmd_tparam_1:{{.*}} 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>test_cmd_tparam_1</Name><USR>c:@FT@>1#Ttest_cmd_tparam_1#t0.0#v#</USR><Declaration>template <typename T> void test_cmd_tparam_1(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>] 330 // CHECK-NEXT: CommentAST=[ 331 // CHECK-NEXT: (CXComment_FullComment 332 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 333 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 334 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[] ParamPosition=Invalid 335 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 336 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 337 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0 338 // CHECK-NEXT: (CXComment_Paragraph 339 // CHECK-NEXT: (CXComment_Text Text=[ Blah blah]))))] 340 341 /// \tparam T 342 /// \param aaa Blah blah 343 template<typename T> 344 void test_cmd_tparam_2(T aaa); 345 346 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=test_cmd_tparam_2:{{.*}} 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>test_cmd_tparam_2</Name><USR>c:@FT@>1#Ttest_cmd_tparam_2#t0.0#v#</USR><Declaration>template <typename T> void test_cmd_tparam_2(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>] 347 // CHECK-NEXT: CommentAST=[ 348 // CHECK-NEXT: (CXComment_FullComment 349 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 350 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 351 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T] ParamPosition={0} 352 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 353 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 354 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[aaa] ParamIndex=0 355 // CHECK-NEXT: (CXComment_Paragraph 356 // CHECK-NEXT: (CXComment_Text Text=[ Blah blah]))))] 357 358 /// \tparam T2 Bbb 359 /// \tparam T1 Aaa 360 template<typename T1, typename T2> 361 void test_cmd_tparam_3(T1 aaa, T2 bbb); 362 363 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=test_cmd_tparam_3:{{.*}} 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>test_cmd_tparam_3</Name><USR>c:@FT@>2#T#Ttest_cmd_tparam_3#t0.0#t0.1#v#</USR><Declaration>template <typename T1, typename T2> void test_cmd_tparam_3(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>] 364 // CHECK-NEXT: CommentAST=[ 365 // CHECK-NEXT: (CXComment_FullComment 366 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 367 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 368 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T2] ParamPosition={1} 369 // CHECK-NEXT: (CXComment_Paragraph 370 // CHECK-NEXT: (CXComment_Text Text=[ Bbb] HasTrailingNewline) 371 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 372 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T1] ParamPosition={0} 373 // CHECK-NEXT: (CXComment_Paragraph 374 // CHECK-NEXT: (CXComment_Text Text=[ Aaa]))))] 375 376 /// \tparam T2 Bbb 377 /// \tparam U Zzz 378 /// \tparam V Ccc 379 /// \tparam T1 Aaa 380 template<typename T1, typename T2, int V> 381 void test_cmd_tparam_4(T1 aaa, T2 bbb); 382 383 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=test_cmd_tparam_4:{{.*}} 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>test_cmd_tparam_4</Name><USR>c:@FT@>3#T#T#NItest_cmd_tparam_4#t0.0#t0.1#v#</USR><Declaration>template <typename T1, typename T2, int V>\nvoid test_cmd_tparam_4(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>] 384 // CHECK-NEXT: CommentAST=[ 385 // CHECK-NEXT: (CXComment_FullComment 386 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 387 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 388 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T2] ParamPosition={1} 389 // CHECK-NEXT: (CXComment_Paragraph 390 // CHECK-NEXT: (CXComment_Text Text=[ Bbb] HasTrailingNewline) 391 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 392 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[U] ParamPosition=Invalid 393 // CHECK-NEXT: (CXComment_Paragraph 394 // CHECK-NEXT: (CXComment_Text Text=[ Zzz] HasTrailingNewline) 395 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 396 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[V] ParamPosition={2} 397 // CHECK-NEXT: (CXComment_Paragraph 398 // CHECK-NEXT: (CXComment_Text Text=[ Ccc] HasTrailingNewline) 399 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 400 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T1] ParamPosition={0} 401 // CHECK-NEXT: (CXComment_Paragraph 402 // CHECK-NEXT: (CXComment_Text Text=[ Aaa]))))] 403 404 /// \tparam TTT Ddd 405 /// \tparam C Ccc 406 /// \tparam T Aaa 407 /// \tparam TT Bbb 408 template<template<template<typename T> class TT, class C> class TTT> 409 void test_cmd_tparam_5(); 410 411 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionTemplate=test_cmd_tparam_5:{{.*}} 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>test_cmd_tparam_5</Name><USR>c:@FT@>1#t>2#t>1#T#Ttest_cmd_tparam_5#v#</USR><Declaration>template <template <template <typename T> class TT, class C> class TTT>\nvoid test_cmd_tparam_5()</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>] 412 // CHECK-NEXT: CommentAST=[ 413 // CHECK-NEXT: (CXComment_FullComment 414 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 415 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 416 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[TTT] ParamPosition={0} 417 // CHECK-NEXT: (CXComment_Paragraph 418 // CHECK-NEXT: (CXComment_Text Text=[ Ddd] HasTrailingNewline) 419 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 420 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[C] ParamPosition={0, 1} 421 // CHECK-NEXT: (CXComment_Paragraph 422 // CHECK-NEXT: (CXComment_Text Text=[ Ccc] HasTrailingNewline) 423 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 424 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[T] ParamPosition={0, 0, 0} 425 // CHECK-NEXT: (CXComment_Paragraph 426 // CHECK-NEXT: (CXComment_Text Text=[ Aaa] HasTrailingNewline) 427 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 428 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[TT] ParamPosition={0, 0} 429 // CHECK-NEXT: (CXComment_Paragraph 430 // CHECK-NEXT: (CXComment_Text Text=[ Bbb]))))] 431 432 //===--- 433 // Tests for interaction between commands. 434 //===--- 435 436 /// \brief Aaa. 437 /// 438 /// Bbb. 439 /// 440 /// \param x2 Ddd. 441 /// \param x1 Ccc. 442 /// \returns Eee. 443 void test_full_comment_1(int x1, int x2); 444 445 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=test_full_comment_1:{{.*}} 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><div class="result-discussion"><p class="para-returns"><span class="word-returns">Returns</span> Eee.</p></div>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>test_full_comment_1</Name><USR>c:@F@test_full_comment_1#I#I#</USR><Declaration>void test_full_comment_1(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>] 446 // CHECK-NEXT: CommentAST=[ 447 // CHECK-NEXT: (CXComment_FullComment 448 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 449 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 450 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief] 451 // CHECK-NEXT: (CXComment_Paragraph 452 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.]))) 453 // CHECK-NEXT: (CXComment_Paragraph 454 // CHECK-NEXT: (CXComment_Text Text=[ Bbb.])) 455 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 456 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 457 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x2] ParamIndex=1 458 // CHECK-NEXT: (CXComment_Paragraph 459 // CHECK-NEXT: (CXComment_Text Text=[ Ddd.] HasTrailingNewline) 460 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 461 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[x1] ParamIndex=0 462 // CHECK-NEXT: (CXComment_Paragraph 463 // CHECK-NEXT: (CXComment_Text Text=[ Ccc.] HasTrailingNewline) 464 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 465 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[returns] 466 // CHECK-NEXT: (CXComment_Paragraph 467 // CHECK-NEXT: (CXComment_Text Text=[ Eee.]))))] 468 469 //===--- 470 // Misc tests. 471 //===--- 472 473 /// <br><a href="http://example.com/">Aaa</a> 474 void comment_to_html_conversion_24(); 475 476 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_24:{{.*}} 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_24</Name><USR>c:@F@comment_to_html_conversion_24#</USR><Declaration>void comment_to_html_conversion_24()</Declaration><Abstract><Para> <rawHTML><![CDATA[<br>]]></rawHTML><rawHTML><![CDATA[<a href="http://example.com/">]]></rawHTML>Aaa<rawHTML></a></rawHTML></Para></Abstract></Function>] 477 // CHECK-NEXT: CommentAST=[ 478 // CHECK-NEXT: (CXComment_FullComment 479 // CHECK-NEXT: (CXComment_Paragraph 480 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 481 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[br]) 482 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[a] Attrs: href=http://example.com/) 483 // CHECK-NEXT: (CXComment_Text Text=[Aaa]) 484 // CHECK-NEXT: (CXComment_HTMLEndTag Name=[a])))] 485 486 /// \verbatim 487 /// <a href="http://example.com/">Aaa</a> 488 /// <a href='http://example.com/'>Aaa</a> 489 /// \endverbatim 490 void comment_to_html_conversion_25(); 491 492 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_25:{{.*}} 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_25</Name><USR>c:@F@comment_to_html_conversion_25#</USR><Declaration>void comment_to_html_conversion_25()</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>] 493 // CHECK-NEXT: CommentAST=[ 494 // CHECK-NEXT: (CXComment_FullComment 495 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 496 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 497 // CHECK-NEXT: (CXComment_VerbatimBlockCommand CommandName=[verbatim] 498 // CHECK-NEXT: (CXComment_VerbatimBlockLine Text=[ <a href="http://example.com/">Aaa</a>]) 499 // CHECK-NEXT: (CXComment_VerbatimBlockLine Text=[ <a href='http://example.com/'>Aaa</a>])))] 500 501 /// \def foo_def 502 /// \fn foo_fn 503 /// \namespace foo_namespace 504 /// \overload foo_overload 505 /// \property foo_property 506 /// \typedef foo_typedef 507 /// \var foo_var 508 /// \function foo_function 509 /// \class foo_class 510 /// \method foo_method 511 /// \interface foo_interface 512 /// Blah blah. 513 void comment_to_html_conversion_26(); 514 515 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_26:{{.*}} 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_26</Name><USR>c:@F@comment_to_html_conversion_26#</USR><Declaration>void comment_to_html_conversion_26()</Declaration><Abstract><Para> Blah blah.</Para></Abstract></Function>] 516 // CHECK-NEXT: CommentAST=[ 517 // CHECK-NEXT: (CXComment_FullComment 518 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 519 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 520 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_def]) 521 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 522 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 523 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_fn]) 524 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 525 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 526 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_namespace]) 527 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 528 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 529 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_overload]) 530 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 531 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 532 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_property]) 533 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 534 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 535 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_typedef]) 536 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 537 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 538 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_var]) 539 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 540 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 541 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_function]) 542 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 543 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 544 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_class]) 545 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 546 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 547 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_method]) 548 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace 549 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 550 // CHECK-NEXT: (CXComment_VerbatimLine Text=[ foo_interface]) 551 // CHECK-NEXT: (CXComment_Paragraph 552 // CHECK-NEXT: (CXComment_Text Text=[ Blah blah.])))] 553 554 /// \unknown 555 void comment_to_html_conversion_27(); 556 557 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_27:{{.*}} 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_27</Name><USR>c:@F@comment_to_html_conversion_27#</USR><Declaration>void comment_to_html_conversion_27()</Declaration><Abstract><Para> </Para></Abstract></Function>] 558 // CHECK-NEXT: CommentAST=[ 559 // CHECK-NEXT: (CXComment_FullComment 560 // CHECK-NEXT: (CXComment_Paragraph 561 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 562 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[unknown] RenderNormal)))] 563 564 /// \b Aaa 565 void comment_to_html_conversion_28(); 566 567 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_28:{{.*}} 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_28</Name><USR>c:@F@comment_to_html_conversion_28#</USR><Declaration>void comment_to_html_conversion_28()</Declaration><Abstract><Para> <bold>Aaa</bold></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_InlineCommand CommandName=[b] RenderBold Arg[0]=Aaa)))] 573 574 /// \c Aaa \p Bbb 575 void comment_to_html_conversion_29(); 576 577 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_29:{{.*}} 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_29</Name><USR>c:@F@comment_to_html_conversion_29#</USR><Declaration>void comment_to_html_conversion_29()</Declaration><Abstract><Para> <monospaced>Aaa</monospaced> <monospaced>Bbb</monospaced></Para></Abstract></Function>] 578 // CHECK-NEXT: CommentAST=[ 579 // CHECK-NEXT: (CXComment_FullComment 580 // CHECK-NEXT: (CXComment_Paragraph 581 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 582 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[c] RenderMonospaced Arg[0]=Aaa) 583 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 584 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[p] RenderMonospaced Arg[0]=Bbb)))] 585 586 /// \a Aaa \e Bbb \em Ccc 587 void comment_to_html_conversion_30(); 588 589 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_30:{{.*}} 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_30</Name><USR>c:@F@comment_to_html_conversion_30#</USR><Declaration>void comment_to_html_conversion_30()</Declaration><Abstract><Para> <emphasized>Aaa</emphasized> <emphasized>Bbb</emphasized> <emphasized>Ccc</emphasized></Para></Abstract></Function>] 590 // CHECK-NEXT: CommentAST=[ 591 // CHECK-NEXT: (CXComment_FullComment 592 // CHECK-NEXT: (CXComment_Paragraph 593 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 594 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=Aaa) 595 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 596 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=Bbb) 597 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 598 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=Ccc)))] 599 600 /// \a 1<2 \e 3<4 \em 5<6 \param 7<8 aaa \tparam 9<10 bbb 601 void comment_to_html_conversion_31(); 602 603 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_31:{{.*}} 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_31</Name><USR>c:@F@comment_to_html_conversion_31#</USR><Declaration>void comment_to_html_conversion_31()</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>] 604 // CHECK-NEXT: CommentAST=[ 605 // CHECK-NEXT: (CXComment_FullComment 606 // CHECK-NEXT: (CXComment_Paragraph 607 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 608 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[a] RenderEmphasized Arg[0]=1<2) 609 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 610 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[e] RenderEmphasized Arg[0]=3<4) 611 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 612 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[em] RenderEmphasized Arg[0]=5<6) 613 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 614 // CHECK-NEXT: (CXComment_ParamCommand in implicitly ParamName=[7<8] ParamIndex=Invalid 615 // CHECK-NEXT: (CXComment_Paragraph 616 // CHECK-NEXT: (CXComment_Text Text=[ aaa ]))) 617 // CHECK-NEXT: (CXComment_TParamCommand ParamName=[9<10] ParamPosition=Invalid 618 // CHECK-NEXT: (CXComment_Paragraph 619 // CHECK-NEXT: (CXComment_Text Text=[ bbb]))))] 620 621 /// \\ \@ \& \$ \# \< \> \% \" \. \:: 622 void comment_to_html_conversion_32(); 623 624 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_32:{{.*}} 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_32</Name><USR>c:@F@comment_to_html_conversion_32#</USR><Declaration>void comment_to_html_conversion_32()</Declaration><Abstract><Para> \ @ & $ # < > % " . ::</Para></Abstract></Function>] 625 // CHECK-NEXT: CommentAST=[ 626 // CHECK-NEXT: (CXComment_FullComment 627 // CHECK-NEXT: (CXComment_Paragraph 628 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 629 // CHECK-NEXT: (CXComment_Text Text=[\]) 630 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 631 // CHECK-NEXT: (CXComment_Text Text=[@]) 632 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 633 // CHECK-NEXT: (CXComment_Text Text=[&]) 634 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 635 // CHECK-NEXT: (CXComment_Text Text=[$]) 636 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 637 // CHECK-NEXT: (CXComment_Text Text=[#]) 638 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 639 // CHECK-NEXT: (CXComment_Text Text=[<]) 640 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 641 // CHECK-NEXT: (CXComment_Text Text=[>]) 642 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 643 // CHECK-NEXT: (CXComment_Text Text=[%]) 644 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 645 // CHECK-NEXT: (CXComment_Text Text=["]) 646 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 647 // CHECK-NEXT: (CXComment_Text Text=[.]) 648 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 649 // CHECK-NEXT: (CXComment_Text Text=[::])))] 650 651 /// & < > " ' meow meow 652 void comment_to_html_conversion_33(); 653 654 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_33:{{.*}} 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_33</Name><USR>c:@F@comment_to_html_conversion_33#</USR><Declaration>void comment_to_html_conversion_33()</Declaration><Abstract><Para> & < > " ' meow meow</Para></Abstract></Function>] 655 // CHECK-NEXT: CommentAST=[ 656 // CHECK-NEXT: (CXComment_FullComment 657 // CHECK-NEXT: (CXComment_Paragraph 658 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 659 // CHECK-NEXT: (CXComment_Text Text=[&]) 660 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 661 // CHECK-NEXT: (CXComment_Text Text=[<]) 662 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 663 // CHECK-NEXT: (CXComment_Text Text=[>]) 664 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 665 // CHECK-NEXT: (CXComment_Text Text=["]) 666 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 667 // CHECK-NEXT: (CXComment_Text Text=[']) 668 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 669 // CHECK-NEXT: (CXComment_Text Text=[m]) 670 // CHECK-NEXT: (CXComment_Text Text=[e]) 671 // CHECK-NEXT: (CXComment_Text Text=[o]) 672 // CHECK-NEXT: (CXComment_Text Text=[w]) 673 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 674 // CHECK-NEXT: (CXComment_Text Text=[m]) 675 // CHECK-NEXT: (CXComment_Text Text=[e]) 676 // CHECK-NEXT: (CXComment_Text Text=[o]) 677 // CHECK-NEXT: (CXComment_Text Text=[w])))] 678 679 /// <em>0<i</em> 680 void comment_to_html_conversion_34(); 681 682 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_34:{{.*}} 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_34</Name><USR>c:@F@comment_to_html_conversion_34#</USR><Declaration>void comment_to_html_conversion_34()</Declaration><Abstract><Para> <rawHTML><![CDATA[<em>]]></rawHTML>0<i<rawHTML></em></rawHTML></Para></Abstract></Function>] 683 // CHECK-NEXT: CommentAST=[ 684 // CHECK-NEXT: (CXComment_FullComment 685 // CHECK-NEXT: (CXComment_Paragraph 686 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 687 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[em]) 688 // CHECK-NEXT: (CXComment_Text Text=[0]) 689 // CHECK-NEXT: (CXComment_Text Text=[<]) 690 // CHECK-NEXT: (CXComment_Text Text=[i]) 691 // CHECK-NEXT: (CXComment_HTMLEndTag Name=[em])))] 692 693 /// © the copyright symbol 694 /// ™ the trade mark symbol 695 /// ® the registered trade mark symbol 696 /// a non-breakable space. 697 /// Δ Greek letter Delta Δ. 698 /// Γ Greek letter Gamma Γ. 699 void comment_to_html_conversion_35(); 700 701 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_35:{{.*}} 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_35</Name><USR>c:@F@comment_to_html_conversion_35#</USR><Declaration>void comment_to_html_conversion_35()</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>] 702 // CHECK-NEXT: CommentAST=[ 703 // CHECK-NEXT: (CXComment_FullComment 704 // CHECK-NEXT: (CXComment_Paragraph 705 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 706 // CHECK-NEXT: (CXComment_Text Text=[©]) 707 // CHECK-NEXT: (CXComment_Text Text=[ the copyright symbol] HasTrailingNewline) 708 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 709 // CHECK-NEXT: (CXComment_Text Text=[™]) 710 // CHECK-NEXT: (CXComment_Text Text=[ the trade mark symbol] HasTrailingNewline) 711 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 712 // CHECK-NEXT: (CXComment_Text Text=[®]) 713 // CHECK-NEXT: (CXComment_Text Text=[ the registered trade mark symbol] HasTrailingNewline) 714 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 715 // CHECK-NEXT: (CXComment_Text Text=[ ]) 716 // CHECK-NEXT: (CXComment_Text Text=[ a non-breakable space.] HasTrailingNewline) 717 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 718 // CHECK-NEXT: (CXComment_Text Text=[Δ]) 719 // CHECK-NEXT: (CXComment_Text Text=[ Greek letter Delta Δ.] HasTrailingNewline) 720 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 721 // CHECK-NEXT: (CXComment_Text Text=[Γ]) 722 // CHECK-NEXT: (CXComment_Text Text=[ Greek letter Gamma Γ.])))] 723 724 /// <h1 id="]]>">Aaa</h1> 725 void comment_to_html_conversion_36(); 726 727 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_36:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <h1 id="]]>">Aaa</h1></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_36</Name><USR>c:@F@comment_to_html_conversion_36#</USR><Declaration>void comment_to_html_conversion_36()</Declaration><Abstract><Para> <rawHTML><![CDATA[<h1 id="]]]]><![CDATA[>">]]></rawHTML>Aaa<rawHTML></h1></rawHTML></Para></Abstract></Function>] 728 // CHECK-NEXT: CommentAST=[ 729 // CHECK-NEXT: (CXComment_FullComment 730 // CHECK-NEXT: (CXComment_Paragraph 731 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 732 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[h1] Attrs: id=]]>) 733 // CHECK-NEXT: (CXComment_Text Text=[Aaa]) 734 // CHECK-NEXT: (CXComment_HTMLEndTag Name=[h1])))] 735 736 /// \anchor A 737 void comment_to_html_conversion_37(); 738 739 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_37:{{.*}} FullCommentAsHTML=[<p class="para-brief"> <span id="A"></span></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_37</Name><USR>c:@F@comment_to_html_conversion_37#</USR><Declaration>void comment_to_html_conversion_37()</Declaration><Abstract><Para> <anchor id="A"></anchor></Para></Abstract></Function>] 740 // CHECK-NEXT: CommentAST=[ 741 // CHECK-NEXT: (CXComment_FullComment 742 // CHECK-NEXT: (CXComment_Paragraph 743 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace) 744 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[anchor] RenderAnchor Arg[0]=A)))] 745 746 /// Aaa bbb<img/> 747 void comment_to_html_conversion_38(); 748 749 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_38:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa bbb<img/></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_38</Name><USR>c:@F@comment_to_html_conversion_38#</USR><Declaration>void comment_to_html_conversion_38()</Declaration><Abstract><Para> Aaa bbb<rawHTML><![CDATA[<img/>]]></rawHTML></Para></Abstract></Function>] 750 // CHECK-NEXT: CommentAST=[ 751 // CHECK-NEXT: (CXComment_FullComment 752 // CHECK-NEXT: (CXComment_Paragraph 753 // CHECK-NEXT: (CXComment_Text Text=[ Aaa bbb]) 754 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[img] SelfClosing) 755 756 /// Aaa ccc<img /> 757 void comment_to_html_conversion_39(); 758 759 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_39:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa ccc<img/></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_39</Name><USR>c:@F@comment_to_html_conversion_39#</USR><Declaration>void comment_to_html_conversion_39()</Declaration><Abstract><Para> Aaa ccc<rawHTML><![CDATA[<img/>]]></rawHTML></Para></Abstract></Function>] 760 // CHECK-NEXT: CommentAST=[ 761 // CHECK-NEXT: (CXComment_FullComment 762 // CHECK-NEXT: (CXComment_Paragraph 763 // CHECK-NEXT: (CXComment_Text Text=[ Aaa ccc]) 764 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[img] SelfClosing) 765 766 /// Aaa ccc<img src=""> 767 void comment_to_html_conversion_40(); 768 769 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_40:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa ccc<img src></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_40</Name><USR>c:@F@comment_to_html_conversion_40#</USR><Declaration>void comment_to_html_conversion_40()</Declaration><Abstract><Para> Aaa ccc<rawHTML><![CDATA[<img src>]]></rawHTML></Para></Abstract></Function>] 770 // CHECK-NEXT: CommentAST=[ 771 // CHECK-NEXT: (CXComment_FullComment 772 // CHECK-NEXT: (CXComment_Paragraph 773 // CHECK-NEXT: (CXComment_Text Text=[ Aaa ccc]) 774 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[img] Attrs: src=) 775 776 /// Aaa ccc<img src="path"> 777 void comment_to_html_conversion_41(); 778 779 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_41:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa ccc<img src="path"></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_41</Name><USR>c:@F@comment_to_html_conversion_41#</USR><Declaration>void comment_to_html_conversion_41()</Declaration><Abstract><Para> Aaa ccc<rawHTML><![CDATA[<img src="path">]]></rawHTML></Para></Abstract></Function>] 780 // CHECK-NEXT: CommentAST=[ 781 // CHECK-NEXT: (CXComment_FullComment 782 // CHECK-NEXT: (CXComment_Paragraph 783 // CHECK-NEXT: (CXComment_Text Text=[ Aaa ccc]) 784 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[img] Attrs: src=path) 785 786 /// Aaa ccc<img src="path"/> 787 void comment_to_html_conversion_42(); 788 789 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_42:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa ccc<img src="path"/></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_42</Name><USR>c:@F@comment_to_html_conversion_42#</USR><Declaration>void comment_to_html_conversion_42()</Declaration><Abstract><Para> Aaa ccc<rawHTML><![CDATA[<img src="path"/>]]></rawHTML></Para></Abstract></Function>] 790 // CHECK-NEXT: CommentAST=[ 791 // CHECK-NEXT: (CXComment_FullComment 792 // CHECK-NEXT: (CXComment_Paragraph 793 // CHECK-NEXT: (CXComment_Text Text=[ Aaa ccc]) 794 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[img] Attrs: src=path SelfClosing) 795 796 /// Aaa ddd<img src=""/> 797 void comment_to_html_conversion_43(); 798 799 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:6: FunctionDecl=comment_to_html_conversion_43:{{.*}} FullCommentAsHTML=[<p class="para-brief"> Aaa ddd<img src/></p>] FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-2]]" column="6"><Name>comment_to_html_conversion_43</Name><USR>c:@F@comment_to_html_conversion_43#</USR><Declaration>void comment_to_html_conversion_43()</Declaration><Abstract><Para> Aaa ddd<rawHTML><![CDATA[<img src/>]]></rawHTML></Para></Abstract></Function>] 800 // CHECK-NEXT: CommentAST=[ 801 // CHECK-NEXT: (CXComment_FullComment 802 // CHECK-NEXT: (CXComment_Paragraph 803 // CHECK-NEXT: (CXComment_Text Text=[ Aaa ddd]) 804 // CHECK-NEXT: (CXComment_HTMLStartTag Name=[img] Attrs: src= SelfClosing) 805 806 /// Aaa. 807 class comment_to_xml_conversion_01 { 808 // 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:@S@comment_to_xml_conversion_01</USR><Declaration>class comment_to_xml_conversion_01 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>] 809 810 /// \param aaa Blah blah. 811 comment_to_xml_conversion_01(int aaa); 812 813 // 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:@S@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>] 814 815 /// Aaa. 816 ~comment_to_xml_conversion_01(); 817 818 // 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:@S@comment_to_xml_conversion_01@F@~comment_to_xml_conversion_01#</USR><Declaration>~comment_to_xml_conversion_01()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>] 819 820 /// \param aaa Blah blah. 821 int comment_to_xml_conversion_02(int aaa); 822 823 // 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:@S@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>] 824 825 /// \param aaa Blah blah. 826 static int comment_to_xml_conversion_03(int aaa); 827 828 // 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:@S@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>] 829 830 /// Aaa. 831 int comment_to_xml_conversion_04; 832 833 // 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:@S@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>] 834 835 /// Aaa. 836 static int comment_to_xml_conversion_05; 837 838 // 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:@S@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>] 839 840 /// \param aaa Blah blah. 841 void operator()(int aaa); 842 843 // 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:@S@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>] 844 845 /// Aaa. 846 operator bool(); 847 848 // 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:@S@comment_to_xml_conversion_01@F@operator bool#</USR><Declaration>operator bool()</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>] 849 850 /// Aaa. 851 typedef int comment_to_xml_conversion_06; 852 853 // USR is line-dependent here, so filter it with a regexp. 854 // 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>] 855 856 /// Aaa. 857 using comment_to_xml_conversion_07 = int; 858 859 // 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:@S@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>] 860 861 /// Aaa. 862 template<typename T, typename U> 863 class comment_to_xml_conversion_08 { }; 864 865 // 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:@S@comment_to_xml_conversion_01@ST>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>] 866 867 /// Aaa. 868 template<typename T> 869 using comment_to_xml_conversion_09 = comment_to_xml_conversion_08<T, int>; 870 871 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-2]]:3: TypeAliasTemplateDecl=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:@S@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>] 872 }; 873 874 /// Aaa. 875 template<typename T, typename U> 876 void comment_to_xml_conversion_10(T aaa, U bbb); 877 878 // 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#v#</USR><Declaration>template <typename T, typename U>\nvoid comment_to_xml_conversion_10(T aaa, U bbb)</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>] 879 880 /// Aaa. 881 template<> 882 void comment_to_xml_conversion_10(int aaa, int bbb); 883 884 // 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>template <> void comment_to_xml_conversion_10<int, int>(int aaa, int bbb)</Declaration><Abstract><Para> Aaa.</Para></Abstract></Function>] 885 886 /// Aaa. 887 template<typename T, typename U> 888 class comment_to_xml_conversion_11 { }; 889 890 // 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:@ST>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>] 891 892 /// Aaa. 893 template<typename T> 894 class comment_to_xml_conversion_11<T, int> { }; 895 896 // 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:@SP>1#T@comment_to_xml_conversion_11>#t0.0#I</USR><Declaration>template <typename T> class comment_to_xml_conversion_11<T, int> {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>] 897 898 /// Aaa. 899 template<> 900 class comment_to_xml_conversion_11<int, int> { }; 901 902 // 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:@S@comment_to_xml_conversion_11>#I#I</USR><Declaration>template <> class comment_to_xml_conversion_11<int, int> {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>] 903 904 /// Aaa. 905 int comment_to_xml_conversion_12; 906 907 // 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>] 908 909 /// Aaa. 910 namespace comment_to_xml_conversion_13 { 911 // 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>] 912 913 /// Aaa. 914 namespace comment_to_xml_conversion_14 { 915 // 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>] 916 } 917 } 918 919 /// Aaa. 920 enum comment_to_xml_conversion_15 { 921 // 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>] 922 923 /// Aaa. 924 comment_to_xml_conversion_16 925 // 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>] 926 }; 927 928 /// Aaa. 929 enum class comment_to_xml_conversion_17 { 930 // 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>] 931 932 /// Aaa. 933 comment_to_xml_conversion_18 934 // 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>] 935 }; 936 937 /// <a href="http://example.org/"> 938 void comment_to_xml_conversion_unsafe_html_01(); 939 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_01:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_01</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_01#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_01()</Declaration><Abstract><Para> <rawHTML isMalformed="1"><![CDATA[<a href="http://example.org/">]]></rawHTML></Para></Abstract></Function>] 940 941 /// <a href="http://example.org/"><em>Aaa</em> 942 void comment_to_xml_conversion_unsafe_html_02(); 943 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_02:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_02</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_02#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_02()</Declaration><Abstract><Para> <rawHTML isMalformed="1"><![CDATA[<a href="http://example.org/">]]></rawHTML><rawHTML><![CDATA[<em>]]></rawHTML>Aaa<rawHTML></em></rawHTML></Para></Abstract></Function>] 944 945 /// <em>Aaa 946 void comment_to_xml_conversion_unsafe_html_03(); 947 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_03:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_03</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_03#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_03()</Declaration><Abstract><Para> <rawHTML isMalformed="1"><![CDATA[<em>]]></rawHTML>Aaa</Para></Abstract></Function>] 948 949 /// <em>Aaa</b></em> 950 void comment_to_xml_conversion_unsafe_html_04(); 951 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_04:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_04</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_04#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_04()</Declaration><Abstract><Para> <rawHTML><![CDATA[<em>]]></rawHTML>Aaa<rawHTML isMalformed="1"></b></rawHTML><rawHTML></em></rawHTML></Para></Abstract></Function>] 952 953 /// <em>Aaa</em></b> 954 void comment_to_xml_conversion_unsafe_html_05(); 955 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_05:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_05</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_05#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_05()</Declaration><Abstract><Para> <rawHTML><![CDATA[<em>]]></rawHTML>Aaa<rawHTML></em></rawHTML><rawHTML isMalformed="1"></b></rawHTML></Para></Abstract></Function>] 956 957 /// </table> 958 void comment_to_xml_conversion_unsafe_html_06(); 959 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_06:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_06</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_06#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_06()</Declaration><Abstract><Para> <rawHTML isMalformed="1"></table></rawHTML></Para></Abstract></Function>] 960 961 /// <div onclick="alert('meow');">Aaa</div> 962 void comment_to_xml_conversion_unsafe_html_07(); 963 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_unsafe_html_07:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_unsafe_html_07</Name><USR>c:@F@comment_to_xml_conversion_unsafe_html_07#</USR><Declaration>void comment_to_xml_conversion_unsafe_html_07()</Declaration><Abstract><Para> <rawHTML><![CDATA[<div onclick="alert('meow');">]]></rawHTML>Aaa<rawHTML></div></rawHTML></Para></Abstract></Function>] 964 965 //===--- 966 // Check that we attach comments from the base class to derived classes if they don't have a comment. 967 //===--- 968 969 /// BaseToSuper1_Base 970 class BaseToSuper1_Base {}; 971 972 class BaseToSuper1_Derived : public BaseToSuper1_Base {}; 973 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:7: ClassDecl=BaseToSuper1_Derived:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>BaseToSuper1_Base</Name><USR>c:@S@BaseToSuper1_Base</USR><Declaration>class BaseToSuper1_Derived : public BaseToSuper1_Base {}</Declaration><Abstract><Para> BaseToSuper1_Base</Para></Abstract></Class>] 974 975 976 /// BaseToSuper2_Base 977 class BaseToSuper2_Base {}; 978 979 /// BaseToSuper2_Derived 980 class BaseToSuper2_Derived : public BaseToSuper2_Base {}; 981 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:7: ClassDecl=BaseToSuper2_Derived:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>BaseToSuper2_Derived</Name><USR>c:@S@BaseToSuper2_Derived</USR><Declaration>class BaseToSuper2_Derived : public BaseToSuper2_Base {}</Declaration><Abstract><Para> BaseToSuper2_Derived</Para></Abstract></Class>] 982 983 class BaseToSuper2_MoreDerived : public BaseToSuper2_Derived {}; 984 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:7: ClassDecl=BaseToSuper2_MoreDerived:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>BaseToSuper2_Derived</Name><USR>c:@S@BaseToSuper2_Derived</USR><Declaration>class BaseToSuper2_MoreDerived : public BaseToSuper2_Derived {}</Declaration><Abstract><Para> BaseToSuper2_Derived</Para></Abstract></Class>] 985 986 987 /// BaseToSuper3_Base 988 class BaseToSuper3_Base {}; 989 990 class BaseToSuper3_DerivedA : public virtual BaseToSuper3_Base {}; 991 992 class BaseToSuper3_DerivedB : public virtual BaseToSuper3_Base {}; 993 994 class BaseToSuper3_MoreDerived : public BaseToSuper3_DerivedA, public BaseToSuper3_DerivedB {}; 995 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:7: ClassDecl=BaseToSuper3_MoreDerived:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>BaseToSuper3_Base</Name><USR>c:@S@BaseToSuper3_Base</USR><Declaration>class BaseToSuper3_MoreDerived : public BaseToSuper3_DerivedA,\n public BaseToSuper3_DerivedB {}</Declaration><Abstract><Para> BaseToSuper3_Base</Para></Abstract></Class>] 996 997 998 // Check that we propagate comments only through public inheritance. 999 1000 /// BaseToSuper4_Base 1001 class BaseToSuper4_Base {}; 1002 1003 /// BaseToSuper4_DerivedA 1004 class BaseToSuper4_DerivedA : virtual BaseToSuper4_Base {}; 1005 1006 class BaseToSuper4_DerivedB : public virtual BaseToSuper4_Base {}; 1007 1008 class BaseToSuper4_MoreDerived : BaseToSuper4_DerivedA, public BaseToSuper4_DerivedB {}; 1009 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:7: ClassDecl=BaseToSuper4_MoreDerived:{{.*}} FullCommentAsXML=[<Class file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>BaseToSuper4_Base</Name><USR>c:@S@BaseToSuper4_Base</USR><Declaration>class BaseToSuper4_MoreDerived : BaseToSuper4_DerivedA,\n public BaseToSuper4_DerivedB {}</Declaration><Abstract><Para> BaseToSuper4_Base</Para></Abstract></Class>] 1010 1011 //===--- 1012 // Check the representation of \todo in XML. 1013 //===--- 1014 1015 /// Aaa. 1016 /// \todo Bbb. 1017 void comment_to_xml_conversion_todo_1(); 1018 // 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>] 1019 1020 /// Aaa. 1021 /// \todo Bbb. 1022 /// 1023 /// Ccc. 1024 void comment_to_xml_conversion_todo_2(); 1025 // 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>] 1026 1027 /// Aaa. 1028 /// \todo Bbb. 1029 /// 1030 /// Ccc. 1031 /// \todo Ddd. 1032 void comment_to_xml_conversion_todo_3(); 1033 // 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>] 1034 1035 /// Aaa. 1036 /// \todo Bbb. 1037 /// \todo Ccc. 1038 void comment_to_xml_conversion_todo_4(); 1039 // 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>] 1040 1041 1042 //===--- 1043 // Test the representation of exception specifications in AST and XML. 1044 //===--- 1045 1046 /// Aaa. 1047 /// \throws Bbb. 1048 void comment_to_xml_conversion_exceptions_1(); 1049 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_1:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_1</Name><USR>c:@F@comment_to_xml_conversion_exceptions_1#</USR><Declaration>void comment_to_xml_conversion_exceptions_1()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para>Bbb. </Para></Exceptions></Function>] 1050 // CHECK-NEXT: CommentAST=[ 1051 // CHECK-NEXT: (CXComment_FullComment 1052 // CHECK-NEXT: (CXComment_Paragraph 1053 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline) 1054 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 1055 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws] Arg[0]=Bbb. 1056 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace)))] 1057 1058 /// Aaa. 1059 /// \throw Bbb. 1060 void comment_to_xml_conversion_exceptions_2(); 1061 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_2:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_2</Name><USR>c:@F@comment_to_xml_conversion_exceptions_2#</USR><Declaration>void comment_to_xml_conversion_exceptions_2()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para>Bbb. </Para></Exceptions></Function>] 1062 // CHECK-NEXT: CommentAST=[ 1063 // CHECK-NEXT: (CXComment_FullComment 1064 // CHECK-NEXT: (CXComment_Paragraph 1065 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline) 1066 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 1067 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throw] Arg[0]=Bbb. 1068 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace)))] 1069 1070 /// Aaa. 1071 /// \exception Bbb. 1072 void comment_to_xml_conversion_exceptions_3(); 1073 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_3:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_3</Name><USR>c:@F@comment_to_xml_conversion_exceptions_3#</USR><Declaration>void comment_to_xml_conversion_exceptions_3()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para>Bbb. </Para></Exceptions></Function>] 1074 // CHECK-NEXT: CommentAST=[ 1075 // CHECK-NEXT: (CXComment_FullComment 1076 // CHECK-NEXT: (CXComment_Paragraph 1077 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline) 1078 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 1079 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[exception] Arg[0]=Bbb. 1080 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace)))] 1081 1082 /// Aaa. 1083 /// \throws Bbb. 1084 /// \throws Ccc. 1085 /// \throws Ddd. 1086 void comment_to_xml_conversion_exceptions_4(); 1087 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_4:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_4</Name><USR>c:@F@comment_to_xml_conversion_exceptions_4#</USR><Declaration>void comment_to_xml_conversion_exceptions_4()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para>Bbb. </Para><Para>Ccc. </Para><Para>Ddd. </Para></Exceptions></Function>] 1088 // CHECK-NEXT: CommentAST=[ 1089 // CHECK-NEXT: (CXComment_FullComment 1090 // CHECK-NEXT: (CXComment_Paragraph 1091 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline) 1092 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 1093 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws] Arg[0]=Bbb. 1094 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace)) 1095 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws] Arg[0]=Ccc. 1096 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace)) 1097 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws] Arg[0]=Ddd. 1098 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace)))] 1099 1100 /// Aaa. 1101 /// \throws Bbb. 1102 /// \throw Ccc. 1103 void comment_to_xml_conversion_exceptions_5(); 1104 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_5:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_5</Name><USR>c:@F@comment_to_xml_conversion_exceptions_5#</USR><Declaration>void comment_to_xml_conversion_exceptions_5()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para>Bbb. </Para><Para>Ccc. </Para></Exceptions></Function>] 1105 // CHECK-NEXT: CommentAST=[ 1106 // CHECK-NEXT: (CXComment_FullComment 1107 // CHECK-NEXT: (CXComment_Paragraph 1108 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline) 1109 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 1110 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws] Arg[0]=Bbb. 1111 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace)) 1112 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throw] Arg[0]=Ccc. 1113 // CHECK-NEXT: (CXComment_Paragraph IsWhitespace)))] 1114 1115 /// Aaa. 1116 /// \throws Bbb subsequent arg text 1117 void comment_to_xml_conversion_exceptions_6(); 1118 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_6:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_6</Name><USR>c:@F@comment_to_xml_conversion_exceptions_6#</USR><Declaration>void comment_to_xml_conversion_exceptions_6()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para>Bbb subsequent arg text</Para></Exceptions></Function>] 1119 // CHECK-NEXT: CommentAST=[ 1120 // CHECK-NEXT: (CXComment_FullComment 1121 // CHECK-NEXT: (CXComment_Paragraph 1122 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline) 1123 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 1124 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws] Arg[0]=Bbb 1125 // CHECK-NEXT: (CXComment_Paragraph 1126 // CHECK-NEXT: (CXComment_Text Text=[subsequent arg text]))))] 1127 1128 /// Aaa. 1129 /// \throws Bbb subsequent arg text 1130 /// \throw Ccc subsequent arg text 1131 void comment_to_xml_conversion_exceptions_7(); 1132 // CHECK: comment-to-html-xml-conversion.cpp:[[@LINE-1]]:6: FunctionDecl=comment_to_xml_conversion_exceptions_7:{{.*}} FullCommentAsXML=[<Function file="{{[^"]+}}comment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="6"><Name>comment_to_xml_conversion_exceptions_7</Name><USR>c:@F@comment_to_xml_conversion_exceptions_7#</USR><Declaration>void comment_to_xml_conversion_exceptions_7()</Declaration><Abstract><Para> Aaa. </Para></Abstract><Exceptions><Para>Bbb subsequent arg text </Para><Para>Ccc subsequent arg text</Para></Exceptions></Function>] 1133 // CHECK-NEXT: CommentAST=[ 1134 // CHECK-NEXT: (CXComment_FullComment 1135 // CHECK-NEXT: (CXComment_Paragraph 1136 // CHECK-NEXT: (CXComment_Text Text=[ Aaa.] HasTrailingNewline) 1137 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)) 1138 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throws] Arg[0]=Bbb 1139 // CHECK-NEXT: (CXComment_Paragraph 1140 // CHECK-NEXT: (CXComment_Text Text=[subsequent arg text] HasTrailingNewline) 1141 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))) 1142 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[throw] Arg[0]=Ccc 1143 // CHECK-NEXT: (CXComment_Paragraph 1144 // CHECK-NEXT: (CXComment_Text Text=[subsequent arg text]))))] 1145 1146 #endif 1147