[clang] [Clang] C++20 Coroutines: Introduce Frontend Attribute [[clang::coro_inplace_task]] (PR #98971)

Yuxuan Chen via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 16 10:46:02 PDT 2024


yuxuanchen1997 wrote:

@ChuanqiXu9 

> I feel the name `[[coro_inplace_task]]` is not so good. Since it doesn't happen unconditionally. It happens conditionally. I still want to try to make it clear in the name. I still like names like `[[coro_elide_after_await]]`, which I feel is more clear.

Why the 'after'? Elide happens statically, while await is a runtime concept. That just seems odd. I am open to new names though. 

> BTW, it will be better to use stacked PR for this one and https://github.com/llvm/llvm-project/pull/98974.

What is stacked PR?

https://github.com/llvm/llvm-project/pull/98971


More information about the cfe-commits mailing list