Skip to content

Commit b3a04b5

Browse files
authored
Merge pull request #58445 from al45tair/eng/PR-91831405-5.7-04182022
🍒 Merge pull request #58388 from al45tair/eng/PR-91831405
2 parents 172ada5 + 5af2e36 commit b3a04b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Demangling/OldDemangler.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,8 @@ class OldDemangler {
10441044
// had its generic arguments applied.
10451045
NodePointer result = Factory.createNode(nominalType->getKind());
10461046
result->addChild(parentOrModule, Factory);
1047-
result->addChild(nominalType->getChild(1), Factory);
1047+
for (unsigned ndx = 1; ndx < nominalType->getNumChildren(); ++ndx)
1048+
result->addChild(nominalType->getChild(ndx), Factory);
10481049

10491050
nominalType = result;
10501051
}

0 commit comments

Comments
 (0)