mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[CMake] Add option to perform SwiftParser validation by default
Disabled by default. We'll enable it for some build presets. rdar://121545713
This commit is contained in:
@@ -1398,7 +1398,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
|
||||
|
||||
Reference in New Issue
Block a user