================
@@ -8492,14 +8492,24 @@ bool LValueExprEvaluator::VisitVarDecl(const Expr *E,
const VarDecl *VD) {
return false;
if (auto *FD = Info.CurrentCall->LambdaCaptureFields.lookup(VD)) {
+ auto *MD = cast<CXXMethodDecl>(Info.CurrentCall->Callee);
----------------
tbaederr wrote:
```suggestion
const auto *MD = cast<CXXMethodDecl>(Info.CurrentCall->Callee);
```
https://github.com/llvm/llvm-project/pull/74661
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits