usx95 wrote: @snarkmaster > What did you envision the effect of adding `coro_wrapper` to a class would be > on lifetime checks?
All coro wrappers continue to participate in lifetime checks (i.e., all params implicitly treated as `lifetimebound`) if not annotated with `coro_disable_lifetimebound`~ ``` if (const auto *RD = Callee->getReturnType()->getAsRecordDecl()) { CheckCoroCall = RD->hasAttr<CoroLifetimeBoundAttr>() && RD->hasAttr<CoroReturnTypeAttr>() && !Callee->hasAttr<CoroDisableLifetimeBoundAttr>(); } ``` https://github.com/llvm/llvm-project/pull/93268 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits