================
@@ -13714,6 +13714,12 @@ TreeTransform<Derived>::TransformLambdaExpr(LambdaExpr 
*E) {
 
     // Capturing 'this' is trivial.
     if (C->capturesThis()) {
+      // We need ThisType when build capture in CheckCXXThisCapture.
----------------
Sirraide wrote:

No problem—writing descriptive comments is hard; I had to think a while about 
how to phrase this, and I don’t think the way I phrased it is ideal either, but 
it’s hopefully good enough.

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

Reply via email to