Skip to content

Commit 353dba2

Browse files
committed
[NFC] Remove 'isSerialized' from NodePrinter
'isSerialized' is tracked, but never actually used in NodePrinter::print. Was introduced in bc119d0.
1 parent 7ccc1b0 commit 353dba2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Demangling/NodePrinter.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,9 +1702,7 @@ NodePointer NodePrinter::print(NodePointer Node, bool asPrefixContext) {
17021702

17031703
unsigned lastChildIndex = Node->getNumChildren();
17041704
auto lastChild = Node->getChild(lastChildIndex - 1);
1705-
bool isSerialized = false;
17061705
if (lastChild->getKind() == Node::Kind::IsSerialized) {
1707-
isSerialized = true;
17081706
--lastChildIndex;
17091707
lastChild = Node->getChild(lastChildIndex - 1);
17101708
}

0 commit comments

Comments
 (0)