[libSyntax] Delete discardRecordedNode

It doesn't do anything anymore and we shouldn't have it, so let's just
remove it.
This commit is contained in:
Alex Hoppen
2021-02-25 20:29:19 +01:00
parent 76fbae1526
commit dc8eed4279
7 changed files with 0 additions and 28 deletions

View File

@@ -112,10 +112,6 @@ ParsedRawSyntaxRecorder::recordEmptyRawSyntaxCollection(SyntaxKind kind,
return ParsedRawSyntaxNode{kind, tok::unknown, range, n};
}
void ParsedRawSyntaxRecorder::discardRecordedNode(ParsedRawSyntaxNode &node) {
SPActions->discardRecordedNode(node.takeOpaqueNode());
}
ParsedRawSyntaxNode
ParsedRawSyntaxRecorder::lookupNode(size_t lexerOffset, SourceLoc loc,
SyntaxKind kind) {