mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Frontend] Set up output file .swiftmodule.summary
This patch focus on teaching frontend and driver to emit this file. The actual serialization and deserialization implementation will come later.
This commit is contained in:
@@ -466,6 +466,12 @@ bool FrontendInputsAndOutputs::hasPrivateModuleInterfaceOutputPath() const {
|
||||
return outs.PrivateModuleInterfaceOutputPath;
|
||||
});
|
||||
}
|
||||
bool FrontendInputsAndOutputs::hasModuleSummaryOutputPath() const {
|
||||
return hasSupplementaryOutputPath(
|
||||
[](const SupplementaryOutputPaths &outs) -> const std::string & {
|
||||
return outs.ModuleSummaryOutputPath;
|
||||
});
|
||||
}
|
||||
bool FrontendInputsAndOutputs::hasTBDPath() const {
|
||||
return hasSupplementaryOutputPath(
|
||||
[](const SupplementaryOutputPaths &outs) -> const std::string & {
|
||||
|
||||
Reference in New Issue
Block a user