Rename lookupModuleAlias to getRealModuleName

This commit is contained in:
elsh
2021-09-30 13:29:02 -07:00
parent b5f8c7901c
commit 6b4951e31e
3 changed files with 6 additions and 5 deletions

View File

@@ -1565,7 +1565,7 @@ ImportedModule::removeDuplicates(SmallVectorImpl<ImportedModule> &imports) {
Identifier ModuleDecl::getRealName() const {
// This will return the real name for an alias (if used) or getName()
return getASTContext().lookupModuleAlias(getName());
return getASTContext().getRealModuleName(getName());
}
Identifier ModuleDecl::getABIName() const {