Merge pull request #76986 from rintaro/newparservalidation-on-by-default

[build-script] Enable new parser validation by default
This commit is contained in:
Rintaro Ishizaki
2024-10-14 12:55:46 -07:00
committed by GitHub
4 changed files with 3 additions and 9 deletions

View File

@@ -1691,7 +1691,7 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.DisableDynamicActorIsolation |=
Args.hasArg(OPT_disable_dynamic_actor_isolation);
#if SWIFT_ENABLE_EXPERIMENTAL_PARSER_VALIDATION
#if !defined(NDEBUG) && 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 -
/// rdar://118013482 Use this flag to disable round trip through the new