Lines Matching defs:Promise
109 auto *Promise = R.getAsSingle<TypeDecl>();
110 if (!Promise) {
117 QualType PromiseType = S.Context.getTypeDeclType(Promise);
166 // Form template argument list for coroutine_handle<Promise>.
465 static ExprResult buildPromiseCall(Sema &S, VarDecl *Promise,
471 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc);
844 auto *Promise = FSI->CoroutinePromise;
845 if (Promise->getType()->isDependentType()) {
851 auto *RD = Promise->getType()->getAsCXXRecordDecl();
855 buildPromiseCall(*this, Promise, Loc, "await_transform", Operand);
991 VarDecl *Promise = FSI->CoroutinePromise;
995 PC = buildPromiseCall(*this, Promise, Loc, "return_value", E);
998 PC = buildPromiseCall(*this, Promise, Loc, "return_void", std::nullopt);
1203 this->Promise = PromiseStmt.get();