mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Module aliasing] Serialize binary with module real name
Resolves rdar://83632529
This commit is contained in:
@@ -1501,7 +1501,7 @@ StringRef ModuleDecl::ReverseFullNameIterator::operator*() const {
|
||||
assert(current && "all name components exhausted");
|
||||
|
||||
if (auto *swiftModule = current.dyn_cast<const ModuleDecl *>())
|
||||
return swiftModule->getName().str();
|
||||
return swiftModule->getRealName().str();
|
||||
|
||||
auto *clangModule =
|
||||
static_cast<const clang::Module *>(current.get<const void *>());
|
||||
|
||||
Reference in New Issue
Block a user