[PATCH] D34194: [coroutines] Allow co_await and co_yield expressions that return an lvalue to compile
Eric Fiselier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 13 22:56:00 PDT 2017
EricWF created this revision.
The title says it all.
However I can't figure out how to test `int& x = co_yield 42;` since that expression doesn't seem to want to parse.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6889 bytes
Desc: not available
More information about the cfe-commits