mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ModuleInterfaces] Remove references to 'parseable' interfaces everywhere
Now that we've settled on Module Interface as the name, let's remove the vestiges of "Parseable Interfaces"
This commit is contained in:
@@ -174,7 +174,7 @@ bool FrontendInputsAndOutputs::shouldTreatAsModuleInterface() const {
|
||||
|
||||
StringRef InputExt = llvm::sys::path::extension(getFilenameOfFirstInput());
|
||||
file_types::ID InputType = file_types::lookupTypeForExtension(InputExt);
|
||||
return InputType == file_types::TY_SwiftParseableInterfaceFile;
|
||||
return InputType == file_types::TY_SwiftModuleInterfaceFile;
|
||||
}
|
||||
|
||||
bool FrontendInputsAndOutputs::shouldTreatAsSIL() const {
|
||||
@@ -435,10 +435,10 @@ bool FrontendInputsAndOutputs::hasModuleDocOutputPath() const {
|
||||
return outs.ModuleDocOutputPath;
|
||||
});
|
||||
}
|
||||
bool FrontendInputsAndOutputs::hasParseableInterfaceOutputPath() const {
|
||||
bool FrontendInputsAndOutputs::hasModuleInterfaceOutputPath() const {
|
||||
return hasSupplementaryOutputPath(
|
||||
[](const SupplementaryOutputPaths &outs) -> const std::string & {
|
||||
return outs.ParseableInterfaceOutputPath;
|
||||
return outs.ModuleInterfaceOutputPath;
|
||||
});
|
||||
}
|
||||
bool FrontendInputsAndOutputs::hasTBDPath() const {
|
||||
|
||||
Reference in New Issue
Block a user