Merge pull request #84872 from hnrklssn/disable-safe-wrappers-in-stdlib

[Swiftify] Always skip safe wrappers when building the stdlib
This commit is contained in:
Henrik G. Olsson
2025-10-14 09:36:20 -07:00
committed by GitHub
3 changed files with 8 additions and 1 deletions

View File

@@ -2175,6 +2175,8 @@ static bool ParseClangImporterArgs(ClangImporterOptions &Opts, ArgList &Args,
Opts.LoadVersionIndependentAPINotes |= Args.hasArg(OPT_version_independent_apinotes);
Opts.DisableSafeInteropWrappers |= FrontendOpts.ParseStdlib;
if (FrontendOpts.DisableImplicitModules)
Opts.DisableImplicitClangModules = true;