Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaStmt.cpp3572 Expr *RetValExp, in ActOnCapScopeReturnStmt() argument
3585 if (RetValExp) { in ActOnCapScopeReturnStmt()
3587 ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false); in ActOnCapScopeReturnStmt()
3590 RetValExp = ER.get(); in ActOnCapScopeReturnStmt()
3592 return ReturnStmt::Create(Context, ReturnLoc, RetValExp, in ActOnCapScopeReturnStmt()
3610 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt()
3621 if (RetValExp && !isa<InitListExpr>(RetValExp)) { in ActOnCapScopeReturnStmt()
3622 ExprResult Result = DefaultFunctionArrayLvalueConversion(RetValExp); in ActOnCapScopeReturnStmt()
3625 RetValExp = Result.get(); in ActOnCapScopeReturnStmt()
3632 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt()
[all …]
H A DSemaChecking.cpp12170 Sema::CheckReturnValExpr(Expr *RetValExp, QualType lhsType, in CheckReturnValExpr() argument
12178 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
12180 << (isObjCMethod ? 1 : 0) << RetValExp->getSourceRange(); in CheckReturnValExpr()
12193 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
12202 CheckPPCMMAType(RetValExp->getType(), ReturnLoc); in CheckReturnValExpr()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h5185 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
5187 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
5189 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
13609 void CheckReturnValExpr(Expr *RetValExp, QualType lhsType,