Re: [PATCH] coroutines: Fix handling of target cleanup exprs [PR94883]

2020-04-30 Thread Nathan Sidwell
On 4/30/20 8:53 AM, Iain Sandoe wrote: The problem here is that target cleanup expressions have been added to the initialisers for the awaitable (and returns of non-trivial values from await_suspend() calls). This is because the expansion of the co_await into its control flow is not apparent to

[PATCH] coroutines: Fix handling of target cleanup exprs [PR94883]

2020-04-30 Thread Iain Sandoe
Hi Another case found building folly’s experimental coros tests. tested on x86_64-darwin, linux, powerpc64-linux OK for master? thanks Iain The problem here is that target cleanup expressions have been added to the initialisers for the awaitable (and returns of non-trivial values from await