We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02a5873 commit 10aebacCopy full SHA for 10aebac
lib/Frontend/ModuleInterfaceLoader.cpp
@@ -1785,8 +1785,11 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface(
1785
GenericArgs.push_back("-disable-objc-attr-requires-foundation-module");
1786
1787
// If we are supposed to use RequireOSSAModules, do so.
1788
- genericSubInvocation.getSILOptions().EnableOSSAModules =
1789
- bool(RequireOSSAModules);
+ if (RequireOSSAModules) {
+ genericSubInvocation.getSILOptions().EnableOSSAModules = true;
1790
+ GenericArgs.push_back("-enable-ossa-modules");
1791
+ }
1792
+
1793
if (LangOpts.DisableAvailabilityChecking) {
1794
genericSubInvocation.getLangOptions().DisableAvailabilityChecking = true;
1795
GenericArgs.push_back("-disable-availability-checking");
0 commit comments