Skip to content

Commit f58bf1f

Browse files
authored
Merge pull request #38198 from al45tair/fix-main-2021-07-01
[Demangler] Fix build breakage caused by merging two PRs that clashed.
2 parents ccc0c8b + 7b56178 commit f58bf1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Demangling/OldRemangler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,7 @@ void Remangler::mangleAnyNominalType(Node *node, EntityContext &ctx,
19301930

19311931
switch (node->getKind()) {
19321932
case Node::Kind::Type:
1933-
mangleAnyNominalType(node->getChild(0), ctx);
1933+
mangleAnyNominalType(node->getChild(0), ctx, depth + 1);
19341934
break;
19351935
case Node::Kind::OtherNominalType:
19361936
// Mangle unknown type kinds as structures since we can't change the old

0 commit comments

Comments
 (0)