mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ModuleInterface] Support aliasing a module loaded from a swiftinterface
This commit is contained in:
@@ -1027,9 +1027,10 @@ class ModuleInterfaceLoaderImpl {
|
||||
}
|
||||
// Set up a builder if we need to build the module. It'll also set up
|
||||
// the genericSubInvocation we'll need to use to compute the cache paths.
|
||||
Identifier realName = ctx.getRealModuleName(ctx.getIdentifier(moduleName));
|
||||
ImplicitModuleInterfaceBuilder builder(
|
||||
ctx.SourceMgr, diagsToUse,
|
||||
astDelegate, interfacePath, moduleName, cacheDir,
|
||||
astDelegate, interfacePath, realName.str(), cacheDir,
|
||||
prebuiltCacheDir, backupInterfaceDir, StringRef(),
|
||||
Opts.disableInterfaceLock,
|
||||
ctx.IgnoreAdjacentModules, diagnosticLoc,
|
||||
|
||||
Reference in New Issue
Block a user