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

Javed Absar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 4 23:16:03 PDT 2017


javed.absar added inline comments.


================
Comment at: test/SemaCXX/coroutines.cpp:169
+void check_auto_await_suspend() {
+  co_await auto_await_suspend{}; // OK
+}
----------------
maybe change the comment to something more meaningful, or remove it.


https://reviews.llvm.org/D37454





More information about the cfe-commits mailing list