Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp3594 Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { in ActOnCapScopeReturnStmt() argument
3606 if (RetValExp) { in ActOnCapScopeReturnStmt()
3608 ActOnFinishFullExpr(RetValExp, ReturnLoc, /*DiscardedValue*/ false); in ActOnCapScopeReturnStmt()
3611 RetValExp = ER.get(); in ActOnCapScopeReturnStmt()
3613 return ReturnStmt::Create(Context, ReturnLoc, RetValExp, in ActOnCapScopeReturnStmt()
3631 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt()
3642 if (RetValExp && !isa<InitListExpr>(RetValExp)) { in ActOnCapScopeReturnStmt()
3643 ExprResult Result = DefaultFunctionArrayLvalueConversion(RetValExp); in ActOnCapScopeReturnStmt()
3646 RetValExp = Result.get(); in ActOnCapScopeReturnStmt()
3653 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt()
[all …]
H A DSemaChecking.cpp10566 Sema::CheckReturnValExpr(Expr *RetValExp, QualType lhsType, in CheckReturnValExpr() argument
10574 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
10576 << (isObjCMethod ? 1 : 0) << RetValExp->getSourceRange(); in CheckReturnValExpr()
10589 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
10598 CheckPPCMMAType(RetValExp->getType(), ReturnLoc); in CheckReturnValExpr()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4766 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp,
4768 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp);
4769 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp);
12587 void CheckReturnValExpr(Expr *RetValExp, QualType lhsType,