[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 10:12:22 PDT 2017


GorNishanov requested changes to this revision.
GorNishanov added inline comments.
This revision now requires changes to proceed.


================
Comment at: lib/CodeGen/CGCoroutine.cpp:255
+
+static QualType getCoroutineSuspendExprReturnType(const ASTContext &Ctx,
+  const CoroutineSuspendExpr *E) {
----------------
#ifndef NDEBUG
...
#endif


https://reviews.llvm.org/D34194





More information about the cfe-commits mailing list