mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Remove 'isSerialized' from NodePrinter
'isSerialized' is tracked, but never actually used in
NodePrinter::print.
Was introduced in bc119d0d6d.
This commit is contained in:
@@ -1702,9 +1702,7 @@ NodePointer NodePrinter::print(NodePointer Node, bool asPrefixContext) {
|
||||
|
||||
unsigned lastChildIndex = Node->getNumChildren();
|
||||
auto lastChild = Node->getChild(lastChildIndex - 1);
|
||||
bool isSerialized = false;
|
||||
if (lastChild->getKind() == Node::Kind::IsSerialized) {
|
||||
isSerialized = true;
|
||||
--lastChildIndex;
|
||||
lastChild = Node->getChild(lastChildIndex - 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user