[PATCH] D30809: [coroutines] Add codegen for await and yield expressions
Gor Nishanov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 14 16:23:56 PDT 2017
GorNishanov updated this revision to Diff 91790.
GorNishanov added a comment.
- reworked EmitAwait/Yield to has the signature similar to EmitAnyExpr
- await expresions now support _Complex types.
- s/Suffix/Prefix in buildCoroutineSuffix, since it was actually building a prefix
- buildCoroutineSuffix uses literal array for names, as opposed to getting names from the switch stmt.
- added tests to test for Aggr, Scalar and Complex
- added tests for codegen for operator co_await
- sprinkled more comments
Thank you very much for your feedback, John and David!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 20487 bytes
Desc: not available
More information about the cfe-commits