Merge pull request #71173 from rintaro/cmake-parservalidatoin

[CMake] Add option to perform SwiftParser validation by default
This commit is contained in:
Rintaro Ishizaki
2024-04-12 15:03:31 -07:00
committed by GitHub
10 changed files with 39 additions and 2 deletions

View File

@@ -1513,7 +1513,7 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
}
}
#ifndef NDEBUG
#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 -
/// rdar://118013482 Use this flag to disable round trip through the new