[libSyntax] Remove ParsedRawSyntaxNode::copyDeferred

This is no longer needed.
This commit is contained in:
Alex Hoppen
2021-03-01 11:13:22 +01:00
parent e8f9272532
commit c13cf2c21c
4 changed files with 3 additions and 18 deletions

View File

@@ -187,17 +187,6 @@ public:
return copy;
}
ParsedRawSyntaxNode copyDeferred() const {
assert(isDeferredLayout() || isDeferredToken() && "node not deferred");
ParsedRawSyntaxNode copy;
copy.Data = Data;
copy.Range = Range;
copy.SynKind = SynKind;
copy.TokKind = TokKind;
copy.IsMissing = IsMissing;
return copy;
}
#ifndef NDEBUG
bool ensureDataIsNotRecorded() {
if (getDataKind() != DataKind::Recorded)