mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Load plugin libraries when type checking swiftinterface
This commit is contained in:
@@ -1784,6 +1784,11 @@ InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl(
|
||||
StringRef explicitSwiftModuleMap = searchPathOpts.ExplicitSwiftModuleMap;
|
||||
genericSubInvocation.getSearchPathOptions().ExplicitSwiftModuleMap =
|
||||
explicitSwiftModuleMap.str();
|
||||
|
||||
// Load plugin libraries for macro expression as default arguments
|
||||
genericSubInvocation.getSearchPathOptions().PluginSearchOpts =
|
||||
searchPathOpts.PluginSearchOpts;
|
||||
|
||||
auto &subClangImporterOpts = genericSubInvocation.getClangImporterOptions();
|
||||
// Respect the detailed-record preprocessor setting of the parent context.
|
||||
// This, and the "raw" clang module format it implicitly enables, are
|
||||
|
||||
Reference in New Issue
Block a user