mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[libSyntax] Remove ParsedRawSyntaxNode::copyDeferred
This is no longer needed.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user