mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Syntax] Add round-trip syntax test driver and stdlib roundtrip test
This commit is contained in:
@@ -194,12 +194,9 @@ int doFullParseRoundTrip(const StringRef InputFilename) {
|
||||
if (NewNode.hasValue()) {
|
||||
NewNode.getValue().print(llvm::outs());
|
||||
auto Symbol = Sema.getNodeForSyntax(NewNode.getValue());
|
||||
assert(Symbol.hasValue());
|
||||
}
|
||||
}
|
||||
|
||||
Sema.dumpSyntaxMap();
|
||||
|
||||
if (Tokens.back().first->getTokenKind() == tok::eof) {
|
||||
Tokens.back().first->print(llvm::outs());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user