We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa54188 commit 5b793f3Copy full SHA for 5b793f3
lib/Demangling/OldDemangler.cpp
@@ -1044,7 +1044,8 @@ class OldDemangler {
1044
// had its generic arguments applied.
1045
NodePointer result = Factory.createNode(nominalType->getKind());
1046
result->addChild(parentOrModule, Factory);
1047
- result->addChild(nominalType->getChild(1), Factory);
+ for (unsigned ndx = 1; ndx < nominalType->getNumChildren(); ++ndx)
1048
+ result->addChild(nominalType->getChild(ndx), Factory);
1049
1050
nominalType = result;
1051
}
0 commit comments