Searched refs:RetExpr (Results 1 – 5 of 5) sorted by relevance
/external/clang/include/clang/AST/ |
D | Stmt.h | 1314 Stmt *RetExpr; variable 1320 : Stmt(ReturnStmtClass), RetExpr(0), RetLoc(RL), NRVOCandidate(0) { } in ReturnStmt() 1323 : Stmt(ReturnStmtClass), RetExpr((Stmt*) E), RetLoc(RL), in ReturnStmt() 1331 void setRetValue(Expr *E) { RetExpr = reinterpret_cast<Stmt*>(E); } in setRetValue() 1346 return RetExpr ? RetExpr->getLocEnd() : RetLoc; in getLocEnd() 1355 if (RetExpr) return child_range(&RetExpr, &RetExpr+1); in children()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2608 Expr *&RetExpr, in DeduceFunctionTypeFromReturnExpr() argument 2614 if (RetExpr) { in DeduceFunctionTypeFromReturnExpr() 2617 if (isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr() 2618 Diag(RetExpr->getExprLoc(), diag::err_auto_fn_return_init_list); in DeduceFunctionTypeFromReturnExpr() 2624 DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr, Deduced); in DeduceFunctionTypeFromReturnExpr() 2627 Diag(RetExpr->getExprLoc(), diag::err_auto_fn_deduction_failure) in DeduceFunctionTypeFromReturnExpr() 2628 << OrigResultType.getType() << RetExpr->getType(); in DeduceFunctionTypeFromReturnExpr()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 955 return cast_or_null<Expr>(RetExpr); in getRetValue() 958 return cast_or_null<Expr>(RetExpr); in getRetValue()
|
D | ExprConstant.cpp | 3203 const Expr *RetExpr = cast<ReturnStmt>(S)->getRetValue(); in EvaluateStmt() local 3205 if (RetExpr && !Evaluate(Result, Info, RetExpr)) in EvaluateStmt()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 5808 Expr *&RetExpr, AutoType *AT);
|