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.
2 parents 86c453d + 799bf36 commit e59c6c1Copy full SHA for e59c6c1
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