mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'apple/master' into master-rebranch
This commit is contained in:
@@ -991,10 +991,8 @@ SerializedModuleLoaderBase::loadModule(SourceLoc importLoc,
|
||||
Ctx.addLoadedModule(M);
|
||||
SWIFT_DEFER { M->setHasResolvedImports(); };
|
||||
|
||||
StringRef moduleInterfacePathStr =
|
||||
Ctx.AllocateCopy(moduleInterfacePath.str());
|
||||
auto *file =
|
||||
loadAST(*M, moduleID.Loc, moduleInterfacePathStr,
|
||||
loadAST(*M, moduleID.Loc, moduleInterfacePath,
|
||||
std::move(moduleInputBuffer), std::move(moduleDocInputBuffer),
|
||||
std::move(moduleSourceInfoInputBuffer), isFramework);
|
||||
if (file) {
|
||||
|
||||
Reference in New Issue
Block a user