mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[PrintAsObjC] Don't include the module for empty extensions
rdar://problem/57133517
This commit is contained in:
@@ -400,6 +400,9 @@ public:
|
||||
}
|
||||
|
||||
bool writeExtension(const ExtensionDecl *ED) {
|
||||
if (printer.isEmptyExtensionDecl(ED))
|
||||
return true;
|
||||
|
||||
bool allRequirementsSatisfied = true;
|
||||
|
||||
const ClassDecl *CD = ED->getSelfClassDecl();
|
||||
|
||||
Reference in New Issue
Block a user