[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 23:35:56 PDT 2017


EricWF updated this revision to Diff 102485.
EricWF edited the summary of this revision.
EricWF added a comment.

- Fix assertion for co_yield.


https://reviews.llvm.org/D34194

Files:
  lib/AST/ExprClassification.cpp
  lib/CodeGen/CGCoroutine.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGenCoroutines/coro-await.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34194.102485.patch
Type: text/x-patch
Size: 7940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170614/518bd0a0/attachment-0001.bin>


More information about the cfe-commits mailing list