[PATCH] D30809: [coroutines] Add codegen for await and yield expressions

Gor Nishanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 11 18:55:41 PST 2017


GorNishanov updated this revision to Diff 91486.
GorNishanov added a comment.

Addressed review feedback

- clang-format three functions in CGExprScalar.cpp
- got rid of AwaitKindStr array and select appropriate string in the switch statement in buildAwaitKindPrefix


https://reviews.llvm.org/D30809

Files:
  lib/CodeGen/CGCoroutine.cpp
  lib/CodeGen/CGExprAgg.cpp
  lib/CodeGen/CGExprScalar.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGenCoroutines/coro-await.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30809.91486.patch
Type: text/x-patch
Size: 14830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170312/ee721976/attachment-0001.bin>


More information about the cfe-commits mailing list