mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/main' into rebranch
This commit is contained in:
@@ -165,6 +165,14 @@ CompilerInvocation::getPrivateModuleInterfaceOutputPathForWholeModule() const {
|
||||
.SupplementaryOutputs.PrivateModuleInterfaceOutputPath;
|
||||
}
|
||||
|
||||
std::string CompilerInvocation::getAPIDescriptorPathForWholeModule() const {
|
||||
assert(
|
||||
getFrontendOptions().InputsAndOutputs.isWholeModule() &&
|
||||
"APIDescriptorPath only makes sense when the whole module can be seen");
|
||||
return getPrimarySpecificPathsForAtMostOnePrimary()
|
||||
.SupplementaryOutputs.APIDescriptorOutputPath;
|
||||
}
|
||||
|
||||
SerializationOptions CompilerInvocation::computeSerializationOptions(
|
||||
const SupplementaryOutputPaths &outs, const ModuleDecl *module) const {
|
||||
const FrontendOptions &opts = getFrontendOptions();
|
||||
|
||||
Reference in New Issue
Block a user