mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Serialization] Minor ModuleFile/ModuleFileSharedCore improvements
* Add properties to ModuleFile which holds information from the control block. * 'ExtendedValidationInfo' parameter for 'ModuleFileSharedCore::load()' cannot be 'nullptr'. Make it non-defaulted Rvalue reference.
This commit is contained in:
@@ -357,7 +357,7 @@ ModuleFile::getModuleName(ASTContext &Ctx, StringRef modulePath,
|
||||
nullptr,
|
||||
nullptr,
|
||||
/*isFramework*/isFramework, loadedModuleFile,
|
||||
&ExtInfo);
|
||||
ExtInfo);
|
||||
Name = loadedModuleFile->Name.str();
|
||||
return std::move(moduleBuf.get());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user