[clang] [Sema] Preserve ContainsUnexpandedParameterPack in TransformLambdaExpr (PR #86265)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 29 05:06:53 PDT 2024


================
@@ -1673,14 +1690,12 @@ namespace {
           // RecoveryExpr that wraps the uninstantiated default argument so
           // that downstream diagnostics are omitted.
           ExprResult ErrorResult = SemaRef.CreateRecoveryExpr(
-              UninstExpr->getBeginLoc(), UninstExpr->getEndLoc(),
-              { UninstExpr }, UninstExpr->getType());
+              UninstExpr->getBeginLoc(), UninstExpr->getEndLoc(), {UninstExpr},
+              UninstExpr->getType());
----------------
cor3ntin wrote:

nothing changed here, right?

https://github.com/llvm/llvm-project/pull/86265


More information about the cfe-commits mailing list