File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ def Col : Tag<"col"> { let EndTagForbidden = 1; }
5151def Tr : Tag<"tr"> { let EndTagOptional = 1; }
5252def Th : Tag<"th"> { let EndTagOptional = 1; }
5353def Td : Tag<"td"> { let EndTagOptional = 1; }
54+ def Summary : Tag<"summary">;
5455
5556// Define a list of attributes that are not safe to pass through to HTML
5657// output if the input is untrusted.
Original file line number Diff line number Diff line change @@ -131,3 +131,12 @@ void Test_TemplatedFunctionVariadic(int arg, ...);
131131// CHECK: ParamCommandComment{{.*}} [in] implicitly Param="..."
132132// CHECK-NEXT: ParagraphComment
133133// CHECK-NEXT: TextComment{{.*}} Text=" More arguments"
134+
135+ // / \param[out] Aaa <summary>Short summary</summary>
136+ int Test_HTMLSummaryTag (int Aaa);
137+ // CHECK: FunctionDecl{{.*}}Test_HTMLSummaryTag
138+ // CHECK: ParamCommandComment{{.*}} [out] explicitly Param="Aaa"
139+ // CHECK-NEXT: ParagraphComment
140+ // CHECK: HTMLStartTagComment{{.*}} Name="summary"
141+ // CHECK-NEXT: TextComment{{.*}} Text="Short summary"
142+ // CHECK-NEXT: HTMLEndTagComment{{.*}} Name="summary"
You can’t perform that action at this time.
0 commit comments