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.
This commit is contained in:
Doug Gregor
2022-09-30 21:47:07 -07:00
parent e263b0758a
commit 2b87836a0a

View File

@@ -33,6 +33,7 @@ LangOptions::LangOptions() {
// Note: Introduce default-on language options here.
#ifndef NDEBUG
Features.insert(Feature::ParserRoundTrip);
Features.insert(Feature::ParserValidation);
#endif
}