Skip to content

Commit 41c3d78

Browse files
committed
Fix case param
1 parent e757d55 commit 41c3d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/Decl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ ImportDecl *ImportDecl::create(ASTContext &Ctx, DeclContext *DC,
10561056
auto D = new (ptr) ImportDecl(DC, ImportLoc, Kind, KindLoc, Path);
10571057
if (ClangN)
10581058
D->setClangNode(ClangN);
1059-
auto realNameIfExists = Ctx.getRealModuleName(Path.front().Item), ModuleAliasLookupOption::realFromAlias);
1059+
auto realNameIfExists = Ctx.getRealModuleName(Path.front().Item, ASTContext::ModuleAliasLookupOption::realNameFromAlias);
10601060
if (!realNameIfExists.empty()) {
10611061
D->RealModuleName = realNameIfExists;
10621062
}

0 commit comments

Comments
 (0)