File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2119,7 +2119,6 @@ DeclResult Sema::CheckClassTemplate(
2119
2119
NewClass->startDefinition ();
2120
2120
2121
2121
ProcessDeclAttributeList (S, NewClass, Attr);
2122
- ProcessAPINotes (NewClass);
2123
2122
2124
2123
if (PrevClassTemplate)
2125
2124
mergeDeclAttributes (NewClass, PrevClassTemplate->getTemplatedDecl ());
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ struct Box {
6
6
const T* get_ptr () const { return &value; }
7
7
};
8
8
9
+ using FloatBox = Box<float >;
9
10
using IntBox = Box<int >;
Original file line number Diff line number Diff line change 7
7
// CHECK-BOX: Dumping Box:
8
8
// CHECK-BOX-NEXT: ClassTemplateDecl {{.+}} imported in Templates Box
9
9
// CHECK-BOX: SwiftAttrAttr {{.+}} <<invalid sloc>> "import_owned"
10
+
11
+ // Make sure the attributes aren't duplicated.
12
+ // CHECK-BOX-NOT: SwiftAttrAttr {{.+}} <<invalid sloc>> "import_owned"
You can’t perform that action at this time.
0 commit comments