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
424424 os << " \n " ;
425425 os << " @interface " << getNameForObjC (baseClass);
426426 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 () << " ))" ;
431428 printProtocols (ED->getLocalProtocols (ConformanceLookupKind::OnlyExplicit));
432429 os << " \n " ;
433430 printMembers (ED->getMembers ());
Original file line number Diff line number Diff line change @@ -137,13 +137,6 @@ extension NSObject {
137137 @objc var some : Int { return 1 }
138138}
139139
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-
147140// NEGATIVE-NOT: @class NSString;
148141// CHECK: @class NSColor;
149142// CHECK-LABEL: @interface NSString (SWIFT_EXTENSION(extensions))
You can’t perform that action at this time.
0 commit comments