[PATCH] D31487: [coroutines] Fix rebuilding of implicit and dependent coroutine statements.
Gor Nishanov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 30 07:25:55 PDT 2017
GorNishanov added inline comments.
================
Comment at: lib/Sema/CoroutineBuilder.h:53
+ assert(this->IsValid && "coroutine already invalid");
+ this->IsValid = makeReturnObject() && makeParamMoves();
+ if (this->IsValid && !IsPromiseDependentType)
----------------
makeReturnObject is built as $promise.get_return_object() should it be put into buildDependentStatements?
https://reviews.llvm.org/D31487
More information about the cfe-commits
mailing list