Skip to content

Commit

Permalink
Fix unintended fall-through.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zygoloid committed Oct 8, 2021
1 parent 4dc462b commit 64e9044
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/AST/ItaniumMangle.cpp
Expand Up @@ -4972,6 +4972,7 @@ void CXXNameMangler::mangleExpression(const Expr *E, unsigned Arity,
Out << "L";
mangleType(Context.getASTContext().getRecordType(cast<LambdaExpr>(E)->getLambdaClass()));
Out << "E";
break;
}

case Expr::PackExpansionExprClass:
Expand Down

0 comments on commit 64e9044

Please sign in to comment.