[PATCH] D36070: [coroutines] Evaluate the operand of void `co_return` expressions.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 30 23:38:03 PDT 2017


rsmith accepted this revision.
rsmith added inline comments.


================
Comment at: test/CodeGenCoroutines/coro-ret-void.cpp:30
+coro1 f2() {
+  co_return(void) A{};
+}
----------------
This seems like an extremely confusing way to format this statement. Maybe move the space left a bit?


https://reviews.llvm.org/D36070





More information about the cfe-commits mailing list