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

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 31 00:46:58 PDT 2017


EricWF added inline comments.


================
Comment at: test/CodeGenCoroutines/coro-ret-void.cpp:30
+coro1 f2() {
+  co_return(void) A{};
+}
----------------
rsmith wrote:
> This seems like an extremely confusing way to format this statement. Maybe move the space left a bit?
Urg. `git clang-format` strikes again. I'm working on a patch to teach `clang-format` about coroutines. This is just more motivation :-)

I'll fix the formatting before committing. 


https://reviews.llvm.org/D36070





More information about the cfe-commits mailing list