mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ModuleInterface] Conditionalize .swiftinterface loading by -enable-parseable-module-interface
This commit is contained in:
@@ -324,7 +324,7 @@ bool CompilerInstance::setUpModuleLoaders() {
|
||||
}
|
||||
Context->addModuleLoader(std::move(clangImporter), /*isClang*/ true);
|
||||
}
|
||||
{
|
||||
if (Invocation.getFrontendOptions().EnableParseableModuleInterface) {
|
||||
auto PIML = ParseableInterfaceModuleLoader::create(*Context,
|
||||
ModuleCachePath,
|
||||
getDependencyTracker());
|
||||
|
||||
Reference in New Issue
Block a user