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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits