================ @@ -1217,6 +1217,14 @@ def CoroDisableLifetimeBound : InheritableAttr { let SimpleHandler = 1; } +def CoroAwaitElidable : InheritableAttr { ---------------- yuxuanchen1997 wrote:
I am adding this ``` - Introduced a new attribute ``[[clang::coro_await_elidable]]`` on coroutine return types to express elideability at call sites where the coroutine is co_awaited as a prvalue. ``` wdyt? It's rather succinct but I prefer to leave more details in `AttrDocs.td`. https://github.com/llvm/llvm-project/pull/99282 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits