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:
@@ -719,7 +719,7 @@ void Serializer::writeBlockInfoBlock() {
|
||||
BLOCK_RECORD(input_block, SEARCH_PATH);
|
||||
BLOCK_RECORD(input_block, FILE_DEPENDENCY);
|
||||
BLOCK_RECORD(input_block, DEPENDENCY_DIRECTORY);
|
||||
BLOCK_RECORD(input_block, PARSEABLE_INTERFACE_PATH);
|
||||
BLOCK_RECORD(input_block, MODULE_INTERFACE_PATH);
|
||||
|
||||
BLOCK(DECLS_AND_TYPES_BLOCK);
|
||||
#define RECORD(X) BLOCK_RECORD(decls_block, X);
|
||||
@@ -941,7 +941,7 @@ void Serializer::writeInputBlock(const SerializationOptions &options) {
|
||||
input_block::SearchPathLayout SearchPath(Out);
|
||||
input_block::FileDependencyLayout FileDependency(Out);
|
||||
input_block::DependencyDirectoryLayout DependencyDirectory(Out);
|
||||
input_block::ParseableInterfaceLayout ParseableInterface(Out);
|
||||
input_block::ModuleInterfaceLayout ModuleInterface(Out);
|
||||
|
||||
if (options.SerializeOptionsForDebugging) {
|
||||
const SearchPathOptions &searchPathOpts = M->getASTContext().SearchPathOpts;
|
||||
@@ -974,8 +974,8 @@ void Serializer::writeInputBlock(const SerializationOptions &options) {
|
||||
llvm::sys::path::filename(dep.getPath()));
|
||||
}
|
||||
|
||||
if (!options.ParseableInterface.empty())
|
||||
ParseableInterface.emit(ScratchRecord, options.ParseableInterface);
|
||||
if (!options.ModuleInterface.empty())
|
||||
ModuleInterface.emit(ScratchRecord, options.ModuleInterface);
|
||||
|
||||
ModuleDecl::ImportFilter allImportFilter;
|
||||
allImportFilter |= ModuleDecl::ImportFilterKind::Public;
|
||||
@@ -2568,7 +2568,7 @@ class Serializer::DeclSerializer : public DeclVisitor<DeclSerializer> {
|
||||
using namespace decls_block;
|
||||
// Only serialize the text for an inlinable function body if we're emitting
|
||||
// a partial module. It's not needed in the final module file, but it's
|
||||
// needed in partial modules so you can emit a parseable interface after
|
||||
// needed in partial modules so you can emit a module interface after
|
||||
// merging them.
|
||||
if (!S.SF) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user