================ @@ -13714,6 +13714,12 @@ TreeTransform<Derived>::TransformLambdaExpr(LambdaExpr *E) { // Capturing 'this' is trivial. if (C->capturesThis()) { + // We need ThisType here. ---------------- Sirraide wrote:
This comment doesn’t really explain anything. I’d suggest explaining *why*, not *that*, we need a `ThisScope` here. https://github.com/llvm/llvm-project/pull/85565 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits