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.cpp3413 Expr *RetValExp, in ActOnCapScopeReturnStmt() argument
3428 if (RetValExp) { in ActOnCapScopeReturnStmt()
3430 ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false); in ActOnCapScopeReturnStmt()
3433 RetValExp = ER.get(); in ActOnCapScopeReturnStmt()
3435 return ReturnStmt::Create(Context, ReturnLoc, RetValExp, in ActOnCapScopeReturnStmt()
3453 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt()
3464 if (RetValExp && !isa<InitListExpr>(RetValExp)) { in ActOnCapScopeReturnStmt()
3465 ExprResult Result = DefaultFunctionArrayLvalueConversion(RetValExp); in ActOnCapScopeReturnStmt()
3468 RetValExp = Result.get(); in ActOnCapScopeReturnStmt()
3475 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt()
[all …]
H A DSemaChecking.cpp9136 Sema::CheckReturnValExpr(Expr *RetValExp, QualType lhsType, in CheckReturnValExpr() argument
9144 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
9146 << (isObjCMethod ? 1 : 0) << RetValExp->getSourceRange(); in CheckReturnValExpr()
9159 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
9165 if (RetValExp && RetValExp->getType()->isWebAssemblyTableType()) { in CheckReturnValExpr()
9172 PPC().CheckPPCMMAType(RetValExp->getType(), ReturnLoc); in CheckReturnValExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2599 void CheckReturnValExpr(Expr *RetValExp, QualType lhsType,
10881 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
10883 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
10888 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,