mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Merge pull request #27230 from rintaro/syntaxparsse-rdar55421369"
This reverts commitb09f87594a, reversing changes made tod0b7ecab00.
This commit is contained in:
@@ -174,9 +174,3 @@ SyntaxTreeCreator::lookupNode(size_t lexerOffset, syntax::SyntaxKind kind) {
|
||||
raw.resetWithoutRelease();
|
||||
return {length, opaqueN};
|
||||
}
|
||||
|
||||
void SyntaxTreeCreator::discardRecordedNode(OpaqueSyntaxNode opaqueN) {
|
||||
if (!opaqueN)
|
||||
return;
|
||||
static_cast<RawSyntax *>(opaqueN)->Release();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user