Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp552 auto RetExpr = S->getRetValue(); in checkPreStmt() local
553 if (!RetExpr) in checkPreStmt()
556 if (!RetExpr->getType()->isAnyPointerType()) in checkPreStmt()
600 getNullabilityAnnotation(lookThroughImplicitCasts(RetExpr)->getType()); in checkPreStmt()
621 RetExpr); in checkPreStmt()
/external/clang/include/clang/AST/
DStmt.h1368 Stmt *RetExpr; variable
1375 : Stmt(ReturnStmtClass), RetLoc(RL), RetExpr((Stmt *)E), in ReturnStmt()
1383 void setRetValue(Expr *E) { RetExpr = reinterpret_cast<Stmt*>(E); } in setRetValue()
1398 return RetExpr ? RetExpr->getLocEnd() : RetLoc; in getLocEnd()
1407 if (RetExpr) return child_range(&RetExpr, &RetExpr+1); in children()
/external/clang/lib/Sema/
DSemaStmt.cpp3063 Expr *&RetExpr, in DeduceFunctionTypeFromReturnExpr() argument
3068 if (RetExpr && isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr()
3071 Diag(RetExpr->getExprLoc(), in DeduceFunctionTypeFromReturnExpr()
3074 << RetExpr->getSourceRange(); in DeduceFunctionTypeFromReturnExpr()
3087 if (RetExpr) { in DeduceFunctionTypeFromReturnExpr()
3090 DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr, Deduced); in DeduceFunctionTypeFromReturnExpr()
3093 Diag(RetExpr->getExprLoc(), diag::err_auto_fn_deduction_failure) in DeduceFunctionTypeFromReturnExpr()
3094 << OrigResultType.getType() << RetExpr->getType(); in DeduceFunctionTypeFromReturnExpr()
3102 Referencer.TraverseType(RetExpr->getType()); in DeduceFunctionTypeFromReturnExpr()
/external/clang/lib/AST/
DStmt.cpp900 return cast_or_null<Expr>(RetExpr); in getRetValue()
903 return cast_or_null<Expr>(RetExpr); in getRetValue()
DExprConstant.cpp3646 const Expr *RetExpr = cast<ReturnStmt>(S)->getRetValue(); in EvaluateStmt() local
3648 if (RetExpr && in EvaluateStmt()
3650 ? EvaluateInPlace(Result.Value, Info, *Result.Slot, RetExpr) in EvaluateStmt()
3651 : Evaluate(Result.Value, Info, RetExpr))) in EvaluateStmt()
/external/clang/utils/TableGen/
DNeonEmitter.cpp1382 std::string RetExpr; in emitBodyAsBuiltinCall() local
1384 RetExpr = RetVar.getName() + " = "; in emitBodyAsBuiltinCall()
1386 OS << " " << RetExpr << S; in emitBodyAsBuiltinCall()
/external/clang/include/clang/Sema/
DSema.h6553 Expr *&RetExpr, AutoType *AT);