[PATCH] D34194: [coroutines] Allow co_await and co_yield expressions that return an lvalue to compile

Gor Nishanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 09:11:44 PDT 2017


GorNishanov accepted this revision.
GorNishanov added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: test/CodeGenCoroutines/coro-await.cpp:301
+
+// Verifies that we don't chrash when returning an lvalue from a await_resume()
+// expression.
----------------
s/chrash/crash
s/a await_resume/an await_resume/


https://reviews.llvm.org/D34194





More information about the cfe-commits mailing list