mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Refactor 'ModuleInterfaceBuilder' to separate CompilerInstance setup logic from compilation logic (moved to ExplicitModuleInterfaceBuilder).
This commit is contained in:
@@ -423,6 +423,9 @@ static bool buildModuleFromInterface(CompilerInstance &Instance) {
|
||||
ModuleInterfaceLoaderOptions LoaderOpts(FEOpts);
|
||||
StringRef ABIPath = Instance.getPrimarySpecificPathsForAtMostOnePrimary()
|
||||
.SupplementaryOutputs.ABIDescriptorOutputPath;
|
||||
|
||||
|
||||
|
||||
return ModuleInterfaceLoader::buildSwiftModuleFromSwiftInterface(
|
||||
Instance.getSourceMgr(), Instance.getDiags(),
|
||||
Invocation.getSearchPathOptions(), Invocation.getLangOptions(),
|
||||
|
||||
Reference in New Issue
Block a user