Skip to content

Commit 2babc5d

Browse files
committed
[embedded] Use ASTContext directly from IRGenModule
1 parent 211f613 commit 2babc5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/GenDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5678,7 +5678,7 @@ static bool shouldEmitCategory(IRGenModule &IGM, ExtensionDecl *ext) {
56785678
void IRGenModule::emitExtension(ExtensionDecl *ext) {
56795679
emitNestedTypeDecls(ext->getMembers());
56805680

5681-
if (ext->getASTContext().LangOpts.hasFeature(Feature::Embedded)) {
5681+
if (Context.LangOpts.hasFeature(Feature::Embedded)) {
56825682
return;
56835683
}
56845684

0 commit comments

Comments
 (0)