dougsonos wrote:
TODO: Consider `auto x = []() { /* lambda body */ };`
which becomes `VarDecl` holding `ExprWithCleanups` holding
`CXXBindTemporaryExpr`.We currently look for a destructor on a VarDecl but I suspect that becomes a redundant check with this change. Need to verify. https://github.com/llvm/llvm-project/pull/166110 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
