Searched refs:RetValExp (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2860 Sema::ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp) { in ActOnCapScopeReturnStmt() argument 2871 if (RetValExp) { in ActOnCapScopeReturnStmt() 2872 ExprResult ER = ActOnFinishFullExpr(RetValExp, ReturnLoc); in ActOnCapScopeReturnStmt() 2875 RetValExp = ER.get(); in ActOnCapScopeReturnStmt() 2877 return new (Context) ReturnStmt(ReturnLoc, RetValExp, nullptr); in ActOnCapScopeReturnStmt() 2889 if (DeduceFunctionTypeFromReturnExpr(FD, ReturnLoc, RetValExp, AT)) { in ActOnCapScopeReturnStmt() 2899 if (RetValExp && !isa<InitListExpr>(RetValExp)) { in ActOnCapScopeReturnStmt() 2900 ExprResult Result = DefaultFunctionArrayLvalueConversion(RetValExp); in ActOnCapScopeReturnStmt() 2903 RetValExp = Result.get(); in ActOnCapScopeReturnStmt() 2910 FnRetType = RetValExp->getType().getUnqualifiedType(); in ActOnCapScopeReturnStmt() [all …]
|
D | SemaChecking.cpp | 6504 CheckReturnStackAddr(Sema &S, Expr *RetValExp, QualType lhsType, in CheckReturnStackAddr() argument 6514 stackE = EvalAddr(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr() 6516 stackE = EvalVal(RetValExp, refVars, /*ParentDecl=*/nullptr); in CheckReturnStackAddr() 6888 Sema::CheckReturnValExpr(Expr *RetValExp, QualType lhsType, in CheckReturnValExpr() argument 6893 CheckReturnStackAddr(*this, RetValExp, lhsType, ReturnLoc); in CheckReturnValExpr() 6898 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr() 6900 << (isObjCMethod ? 1 : 0) << RetValExp->getSourceRange(); in CheckReturnValExpr() 6913 CheckNonNullExpr(*this, RetValExp)) in CheckReturnValExpr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3484 StmtResult ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, 3486 StmtResult BuildReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp); 3487 StmtResult ActOnCapScopeReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp); 9454 void CheckReturnValExpr(Expr *RetValExp, QualType lhsType,
|