================ @@ -7580,10 +7580,15 @@ static void visitLifetimeBoundArguments(IndirectLocalPath &Path, Expr *Call, if (ObjectArg && implicitObjectParamIsLifetimeBound(Callee)) VisitLifetimeBoundArg(Callee, ObjectArg); + bool checkCoroCall = false; + if (const auto *RD = Callee->getReturnType()->getAsRecordDecl()) { + checkCoroCall |= RD->hasAttr<CoroLifetimeBoundAttr>() && ---------------- ChuanqiXu9 wrote:
```suggestion checkCoroCall = RD->hasAttr<CoroLifetimeBoundAttr>() && ``` nit: https://github.com/llvm/llvm-project/pull/72851 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits