Skip to content

Commit 2b87836

Browse files
committed
Enable valid-parse checking with the new parser
Ensure that any time the existing parser accepts a source file, the new parser produces a valid parse (no unexpected/missing nodes) for that same source file.
1 parent e263b07 commit 2b87836

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Basic/LangOptions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ LangOptions::LangOptions() {
3333
// Note: Introduce default-on language options here.
3434
#ifndef NDEBUG
3535
Features.insert(Feature::ParserRoundTrip);
36+
Features.insert(Feature::ParserValidation);
3637
#endif
3738
}
3839

0 commit comments

Comments
 (0)