Home
last modified time | relevance | path

Searched refs:RetValExp (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp3521 Expr *RetValExp, in ActOnCapScopeReturnStmt() argument
3536 if (RetValExp) { in ActOnCapScopeReturnStmt()
3538 ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false); in ActOnCapScopeReturnStmt()
3541 RetValExp = ER.get(); in ActOnCapScopeReturnStmt()
3543 return ReturnStmt::Create(Context, ReturnLoc, RetValExp, in ActOnCapScopeReturnStmt()
3561 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt()
3572 if (RetValExp && !isa<InitListExpr>(RetValExp)) { in ActOnCapScopeReturnStmt()
3573 ExprResult Result = DefaultFunctionArrayLvalueConversion(RetValExp); in ActOnCapScopeReturnStmt()
3576 RetValExp = Result.get(); in ActOnCapScopeReturnStmt()
3583 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt()
[all …]
H A DSemaChecking.cpp10306 Sema::CheckReturnValExpr(Expr *RetValExp, QualType lhsType, in CheckReturnValExpr() argument
10314 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
10316 << (isObjCMethod ? 1 : 0) << RetValExp->getSourceRange(); in CheckReturnValExpr()
10329 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
10335 if (RetValExp && RetValExp->getType()->isWebAssemblyTableType()) { in CheckReturnValExpr()
10342 PPC().CheckPPCMMAType(RetValExp->getType(), ReturnLoc); in CheckReturnValExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3051 void CheckReturnValExpr(Expr *RetValExp, QualType lhsType,
11096 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
11098 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
11103 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,