Skip to content

Commit 64e9044

Browse files
committed
Fix unintended fall-through.
Unfortunately I've not found a way to exercise this code that doesn't crash elsewhere yet, due to unrelated bugs in how Sema incorrectly instantiates lambdas in function template signatures.
1 parent 4dc462b commit 64e9044

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/AST/ItaniumMangle.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4972,6 +4972,7 @@ void CXXNameMangler::mangleExpression(const Expr *E, unsigned Arity,
49724972
Out << "L";
49734973
mangleType(Context.getASTContext().getRecordType(cast<LambdaExpr>(E)->getLambdaClass()));
49744974
Out << "E";
4975+
break;
49754976
}
49764977

49774978
case Expr::PackExpansionExprClass:

0 commit comments

Comments
 (0)