Allow users to opt-out of implicit Cxx import with -disable-implicit-cxx-module-import

This commit is contained in:
artemcm
2024-05-15 14:30:23 -04:00
parent 6ea604bf9f
commit ec4e0e23aa
10 changed files with 41 additions and 7 deletions

View File

@@ -402,6 +402,9 @@ namespace swift {
bool DisableImplicitBacktracingModuleImport =
!SWIFT_IMPLICIT_BACKTRACING_IMPORT;
/// Disable the implicit import of the Cxx module.
bool DisableImplicitCxxModuleImport = false;
// Whether to use checked continuations when making an async call from
// Swift into ObjC. If false, will use unchecked continuations instead.
bool UseCheckedAsyncObjCBridging = false;