Lines Matching refs:ExprResult

252 ExprResult Sema::BuildOperatorCoawaitCall(SourceLocation Loc, Expr *E,
259 static ExprResult buildOperatorCoawaitCall(Sema &SemaRef, Scope *S,
261 ExprResult R = SemaRef.BuildOperatorCoawaitLookupExpr(S, Loc);
268 static ExprResult buildCoroutineHandle(Sema &S, QualType PromiseType,
287 ExprResult FromAddr =
302 static ExprResult buildMemberCall(Sema &S, Expr *Base, SourceLocation Loc,
308 ExprResult Result = S.BuildMemberReferenceExpr(
344 ExprResult AddressExpr = buildMemberCall(S, E, Loc, "address", std::nullopt);
470 ExprResult Result = buildMemberCall(S, Operand, Loc, Func, Arg);
487 ExprResult Conv = S.PerformContextuallyConvertToBool(AwaitReady);
498 ExprResult CoroHandleRes =
553 static ExprResult buildPromiseCall(Sema &S, VarDecl *Promise,
558 ExprResult PromiseRef = S.BuildDeclRefExpr(
599 ExprResult ThisExpr = ActOnCXXThis(Loc);
652 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, CtorArgExprs);
796 ExprResult Operand = buildPromiseCall(*this, ScopeInfo->CoroutinePromise,
800 ExprResult Suspend =
878 ExprResult Sema::ActOnCoawaitExpr(Scope *S, SourceLocation Loc, Expr *E) {
888 ExprResult R = CheckPlaceholderExpr(E);
892 ExprResult Lookup = BuildOperatorCoawaitLookupExpr(S, Loc);
899 ExprResult Sema::BuildOperatorCoawaitLookupExpr(Scope *S, SourceLocation Loc) {
921 ExprResult Sema::BuildUnresolvedCoawaitExpr(SourceLocation Loc, Expr *Operand,
928 ExprResult R = CheckPlaceholderExpr(Operand);
944 ExprResult R =
954 ExprResult Awaiter = BuildOperatorCoawaitCall(Loc, Transformed, Lookup);
961 ExprResult Sema::BuildResolvedCoawaitExpr(SourceLocation Loc, Expr *Operand,
968 ExprResult R = CheckPlaceholderExpr(Awaiter);
1002 ExprResult Sema::ActOnCoyieldExpr(Scope *S, SourceLocation Loc, Expr *E) {
1012 ExprResult Awaitable = buildPromiseCall(
1024 ExprResult Sema::BuildCoyieldExpr(SourceLocation Loc, Expr *E) {
1030 ExprResult R = CheckPlaceholderExpr(E);
1076 ExprResult R = CheckPlaceholderExpr(E);
1082 ExprResult PC;
1122 ExprResult DR = S.BuildDeclRefExpr(VD, VD->getType(), VK_LValue, Loc);
1348 ExprResult DeclNameExpr =
1356 ExprResult ReturnObjectOnAllocationFailure =
1382 ExprResult ThisExpr = S.ActOnCXXThis(Loc);
1398 ExprResult PDRefExpr =
1630 ExprResult NewRef =
1642 ExprResult NewExpr =
1652 ExprResult DeleteRef =
1692 ExprResult DeleteExpr =
1784 ExprResult UnhandledException = buildPromiseCall(
1808 ExprResult ReturnObject = buildPromiseCall(S, Fn.CoroutinePromise, Loc,
1849 ExprResult Res =
1884 ExprResult Res =
1907 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc);
1976 ExprResult PDRefExpr =