Lines Matching refs:Promise
114 auto *Promise = R.getAsSingle<TypeDecl>();
115 if (!Promise) {
122 QualType PromiseType = S.Context.getTypeDeclType(Promise);
170 // Form template argument list for coroutine_handle<Promise>.
475 static ExprResult buildPromiseCall(Sema &S, VarDecl *Promise,
481 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc);
814 auto *Promise = FSI->CoroutinePromise;
815 if (Promise->getType()->isDependentType()) {
821 auto *RD = Promise->getType()->getAsCXXRecordDecl();
823 ExprResult R = buildPromiseCall(*this, Promise, Loc, "await_transform", E);
972 VarDecl *Promise = FSI->CoroutinePromise;
975 PC = buildPromiseCall(*this, Promise, Loc, "return_value", E);
978 PC = buildPromiseCall(*this, Promise, Loc, "return_void", None);
1127 this->Promise = PromiseStmt.get();