[Frontend] NFC: Add a flag to explicitly disable DynamicActorIsolation feature

This commit is contained in:
Pavel Yaskevich
2024-04-11 13:58:25 -07:00
parent 3a0acf8043
commit d366c0cd93
4 changed files with 12 additions and 0 deletions

View File

@@ -1513,6 +1513,9 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
}
}
Opts.DisableDynamicActorIsolation |=
Args.hasArg(OPT_disable_dynamic_actor_isolation);
#if SWIFT_ENABLE_EXPERIMENTAL_PARSER_VALIDATION
/// Enable round trip parsing via the new swift parser unless it is disabled
/// explicitly. The new Swift parser can have mismatches with C++ parser -