mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModuleInterface: reconstruct command-line arguments for building Swift module from interface explicitly
This commit is contained in:
@@ -163,8 +163,10 @@ bool ModuleInterfaceBuilder::buildSwiftModuleInternal(
|
||||
llvm::RestorePrettyStackState(savedInnerPrettyStackState);
|
||||
};
|
||||
|
||||
SubError = subASTDelegate.runInSubCompilerInstance(moduleName, interfacePath,
|
||||
OutPath, diagnosticLoc,
|
||||
SubError = subASTDelegate.runInSubCompilerInstance(moduleName,
|
||||
interfacePath,
|
||||
OutPath,
|
||||
diagnosticLoc,
|
||||
[&](SubCompilerInstanceInfo &info) {
|
||||
auto &SubInstance = *info.Instance;
|
||||
auto subInvocation = SubInstance.getInvocation();
|
||||
|
||||
Reference in New Issue
Block a user