File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -424,10 +424,7 @@ class DeclAndTypePrinter::Implementation
424
424
os << " \n " ;
425
425
os << " @interface " << getNameForObjC (baseClass);
426
426
maybePrintObjCGenericParameters (baseClass);
427
- if (ED->getObjCCategoryName ().empty ())
428
- os << " (SWIFT_EXTENSION(" << ED->getModuleContext ()->getName () << " ))" ;
429
- else
430
- os << " (" << ED->getObjCCategoryName () << " )" ;
427
+ os << " (SWIFT_EXTENSION(" << ED->getModuleContext ()->getName () << " ))" ;
431
428
printProtocols (ED->getLocalProtocols (ConformanceLookupKind::OnlyExplicit));
432
429
os << " \n " ;
433
430
printMembers (ED->getMembers ());
Original file line number Diff line number Diff line change @@ -137,13 +137,6 @@ extension NSObject {
137
137
@objc var some : Int { return 1 }
138
138
}
139
139
140
- // CHECK-LABEL: @interface NSString (CustomName)
141
- // CHECK-NEXT: - (void)test3;
142
- // CHECK-NEXT: @end
143
- @objc ( CustomName) extension NSString {
144
- func test3( ) { }
145
- }
146
-
147
140
// NEGATIVE-NOT: @class NSString;
148
141
// CHECK: @class NSColor;
149
142
// CHECK-LABEL: @interface NSString (SWIFT_EXTENSION(extensions))
You can’t perform that action at this time.
0 commit comments