[NFC] Remove 'isSerialized' from NodePrinter

'isSerialized' is tracked, but never actually used in
NodePrinter::print.

Was introduced in bc119d0d6d.
This commit is contained in:
Evan Wilde
2021-06-29 14:38:44 -07:00
parent 7ccc1b054a
commit 353dba2635

View File

@@ -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);
}