File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1784,6 +1784,11 @@ InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl(
1784
1784
StringRef explicitSwiftModuleMap = searchPathOpts.ExplicitSwiftModuleMap ;
1785
1785
genericSubInvocation.getSearchPathOptions ().ExplicitSwiftModuleMap =
1786
1786
explicitSwiftModuleMap.str ();
1787
+
1788
+ // Load plugin libraries for macro expression as default arguments
1789
+ genericSubInvocation.getSearchPathOptions ().PluginSearchOpts =
1790
+ searchPathOpts.PluginSearchOpts ;
1791
+
1787
1792
auto &subClangImporterOpts = genericSubInvocation.getClangImporterOptions ();
1788
1793
// Respect the detailed-record preprocessor setting of the parent context.
1789
1794
// This, and the "raw" clang module format it implicitly enables, are
You can’t perform that action at this time.
0 commit comments