Home
last modified time | relevance | path

Searched refs:RetExpr (Results 1 – 6 of 6) sorted by relevance

/external/clang/include/clang/AST/
DStmt.h1339 Stmt *RetExpr; variable
1345 : Stmt(ReturnStmtClass), RetExpr(nullptr), RetLoc(RL), in ReturnStmt()
1349 : Stmt(ReturnStmtClass), RetExpr((Stmt*) E), RetLoc(RL), in ReturnStmt()
1357 void setRetValue(Expr *E) { RetExpr = reinterpret_cast<Stmt*>(E); } in setRetValue()
1372 return RetExpr ? RetExpr->getLocEnd() : RetLoc; in getLocEnd()
1381 if (RetExpr) return child_range(&RetExpr, &RetExpr+1); in children()
/external/clang/lib/Sema/
DSemaStmt.cpp2728 Expr *&RetExpr, in DeduceFunctionTypeFromReturnExpr() argument
2734 if (RetExpr && isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr()
2737 Diag(RetExpr->getExprLoc(), in DeduceFunctionTypeFromReturnExpr()
2740 << RetExpr->getSourceRange(); in DeduceFunctionTypeFromReturnExpr()
2751 } else if (RetExpr) { in DeduceFunctionTypeFromReturnExpr()
2754 if (isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr()
2755 Diag(RetExpr->getExprLoc(), diag::err_auto_fn_return_init_list); in DeduceFunctionTypeFromReturnExpr()
2761 DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr, Deduced); in DeduceFunctionTypeFromReturnExpr()
2764 Diag(RetExpr->getExprLoc(), diag::err_auto_fn_deduction_failure) in DeduceFunctionTypeFromReturnExpr()
2765 << OrigResultType.getType() << RetExpr->getType(); in DeduceFunctionTypeFromReturnExpr()
/external/clang/utils/TableGen/
DNeonEmitter.cpp1362 std::string RetExpr; in emitBodyAsBuiltinCall() local
1364 RetExpr = RetVar.getName() + " = "; in emitBodyAsBuiltinCall()
1366 OS << " " << RetExpr << S; in emitBodyAsBuiltinCall()
/external/clang/lib/AST/
DStmt.cpp953 return cast_or_null<Expr>(RetExpr); in getRetValue()
956 return cast_or_null<Expr>(RetExpr); in getRetValue()
DExprConstant.cpp3355 const Expr *RetExpr = cast<ReturnStmt>(S)->getRetValue(); in EvaluateStmt() local
3357 if (RetExpr && !Evaluate(Result, Info, RetExpr)) in EvaluateStmt()
/external/clang/include/clang/Sema/
DSema.h6051 Expr *&RetExpr, AutoType *AT);