Skip to content

Commit 72ade27

Browse files
committed
Revert "[PrintAsObjC] Don't include the module for empty extensions"
This reverts commit 8f01b2c.
1 parent 3ef8360 commit 72ade27

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/PrintAsObjC/ModuleContentsWriter.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,6 @@ class ModuleWriter {
400400
}
401401

402402
bool writeExtension(const ExtensionDecl *ED) {
403-
if (printer.isEmptyExtensionDecl(ED))
404-
return true;
405-
406403
bool allRequirementsSatisfied = true;
407404

408405
const ClassDecl *CD = ED->getSelfClassDecl();

0 commit comments

Comments
 (0)