[PATCH] D34021: [coroutines] Fix co_await for range statement
Eric Fiselier via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 13 12:45:35 PDT 2017
EricWF added inline comments.
================
Comment at: include/clang/AST/ExprCXX.h:4136
+ : Expr(SC, Resume->getType(),
+ (Resume->getType()->isLValueReferenceType() ? VK_LValue :
+ Resume->getType()->isRValueReferenceType() ? VK_XValue :
----------------
@rsmith Does this make sense, since the resume expression is a function call, or am I way off base in determining the expressions value category?
https://reviews.llvm.org/D34021
More information about the cfe-commits
mailing list