Lines Matching refs:Promise
113 auto *Promise = R.getAsSingle<TypeDecl>();
114 if (!Promise) {
121 QualType PromiseType = S.Context.getTypeDeclType(Promise);
169 // Form template argument list for coroutine_handle<Promise>.
468 static ExprResult buildPromiseCall(Sema &S, VarDecl *Promise,
474 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc);
726 auto *Promise = FSI->CoroutinePromise;
727 if (Promise->getType()->isDependentType()) {
733 auto *RD = Promise->getType()->getAsCXXRecordDecl();
735 ExprResult R = buildPromiseCall(*this, Promise, Loc, "await_transform", E);
884 VarDecl *Promise = FSI->CoroutinePromise;
887 PC = buildPromiseCall(*this, Promise, Loc, "return_value", E);
890 PC = buildPromiseCall(*this, Promise, Loc, "return_void", None);
1039 this->Promise = PromiseStmt.get();