Re: [PATCH] coroutines : Handle for await expressions in for stmts [PR98480].

2021-03-15 Thread Nathan Sidwell
On 3/14/21 8:22 PM, Iain Sandoe wrote: Hi Apparently, I had a brainstorm when posting patches to cover the cases with await expressions in do {} while; and while {} ; and omitted the for loop case. Fixed thus. tested on x86_64-darwin, x86_64-linux-gnu and with cppcoro and folly/coroutines. O

[PATCH] coroutines : Handle for await expressions in for stmts [PR98480].

2021-03-14 Thread Iain Sandoe
Hi Apparently, I had a brainstorm when posting patches to cover the cases with await expressions in do {} while; and while {} ; and omitted the for loop case. Fixed thus. tested on x86_64-darwin, x86_64-linux-gnu and with cppcoro and folly/coroutines. OK for master / 10.x? thanks Iain gcc/cp/