[PATCH] D37454: [coroutines] Make sure auto return type of await_resume is properly handled

Gor Nishanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 5 11:42:39 PDT 2017


GorNishanov marked an inline comment as done.
GorNishanov added inline comments.


================
Comment at: test/SemaCXX/coroutines.cpp:169
+void check_auto_await_suspend() {
+  co_await auto_await_suspend{}; // OK
+}
----------------
javed.absar wrote:
> maybe change the comment to something more meaningful, or remove it.
Sure thing. I'll remove the comment.


https://reviews.llvm.org/D37454





More information about the cfe-commits mailing list