mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ModuleInterface] Add a TextualInterfaceModuleLoader to ASTContext.
This commit is contained in:
@@ -324,6 +324,12 @@ bool CompilerInstance::setUpModuleLoaders() {
|
||||
}
|
||||
Context->addModuleLoader(std::move(clangImporter), /*isClang*/ true);
|
||||
}
|
||||
{
|
||||
auto TIML = TextualInterfaceModuleLoader::create(*Context,
|
||||
ModuleCachePath,
|
||||
getDependencyTracker());
|
||||
Context->addModuleLoader(std::move(TIML));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user