[PATCH] D25349: [coroutines] Build fallthrough and set_exception statements.

Gor Nishanov via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 6 15:49:03 PDT 2016


GorNishanov added a comment.

shipit <https://reviews.llvm.org/macro/meme/?macro=shipit>



> coreturn.cpp:36
> +  suspend_always final_suspend();
> +  awaitable yield_value(int);
> +  void return_void();

No need to hve yield_value here, unless you want to use co_yield expression in the coroutine. In this file, we are using co_await only.  (Same comment for promise_float and promise_int)

https://reviews.llvm.org/D25349





More information about the cfe-commits mailing list