[clang] [Clang] Bugfixes and improved support for `AttributedType`s in lambdas (PR #85325)

Yuxuan Chen via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 14 16:25:08 PDT 2024


================
@@ -13830,62 +13820,40 @@ TreeTransform<Derived>::TransformLambdaExpr(LambdaExpr *E) {
     getSema().AddTemplateParametersToLambdaCallOperator(NewCallOperator, Class,
                                                         TPL);
 
-  // Transform the type of the original lambda's call operator.
-  // The transformation MUST be done in the CurrentInstantiationScope since
-  // it introduces a mapping of the original to the newly created
-  // transformed parameters.
   TypeSourceInfo *NewCallOpTSI = nullptr;
----------------
yuxuanchen1997 wrote:

Branches don't exist anymore, inline this decl to where it's assigned?

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


More information about the cfe-commits mailing list