mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Serialization] Remove treatAsPartialModule parameter
This information can be derived from whether we're installing the module file into the main module.
This commit is contained in:
@@ -186,8 +186,7 @@ static void indexModule(llvm::MemoryBuffer *Input,
|
||||
// correct filename here.
|
||||
auto FUnit = Loader->loadAST(*Mod, None, /*moduleInterfacePath*/"",
|
||||
std::move(Buf), nullptr, nullptr,
|
||||
/*isFramework*/false,
|
||||
/*treatAsPartialModule*/false);
|
||||
/*isFramework*/false);
|
||||
|
||||
// FIXME: Not knowing what went wrong is pretty bad. loadModule() should be
|
||||
// more modular, rather than emitting diagnostics itself.
|
||||
|
||||
Reference in New Issue
Block a user