[PATCH] D30776: [coroutines] Fix diagnostics depending on the first coroutine statement.

Gor Nishanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 9 20:34:04 PST 2017


GorNishanov added a comment.

In https://reviews.llvm.org/D30776#697233, @EricWF wrote:

> Good to know. I'll update this tomorrow.


Well, that is just the thought. Possibly we can check for the types of await_ready and await_suspend in BuildResolvedCoawaitExpr. Then, we don't have to keep the vector of await/yield-expressions.


https://reviews.llvm.org/D30776





More information about the cfe-commits mailing list