Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp471 auto RetExpr = S->getRetValue(); in checkPreStmt() local
472 if (!RetExpr) in checkPreStmt()
475 if (!RetExpr->getType()->isAnyPointerType()) in checkPreStmt()
506 RetExpr); in checkPreStmt()
/external/clang/include/clang/AST/
DStmt.h1346 Stmt *RetExpr; variable
1353 : Stmt(ReturnStmtClass), RetLoc(RL), RetExpr((Stmt *)E), in ReturnStmt()
1361 void setRetValue(Expr *E) { RetExpr = reinterpret_cast<Stmt*>(E); } in setRetValue()
1376 return RetExpr ? RetExpr->getLocEnd() : RetLoc; in getLocEnd()
1385 if (RetExpr) return child_range(&RetExpr, &RetExpr+1); in children()
/external/clang/lib/Sema/
DSemaStmt.cpp3008 Expr *&RetExpr, in DeduceFunctionTypeFromReturnExpr() argument
3013 if (RetExpr && isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr()
3016 Diag(RetExpr->getExprLoc(), in DeduceFunctionTypeFromReturnExpr()
3019 << RetExpr->getSourceRange(); in DeduceFunctionTypeFromReturnExpr()
3032 if (RetExpr) { in DeduceFunctionTypeFromReturnExpr()
3035 DeduceAutoResult DAR = DeduceAutoType(OrigResultType, RetExpr, Deduced); in DeduceFunctionTypeFromReturnExpr()
3038 Diag(RetExpr->getExprLoc(), diag::err_auto_fn_deduction_failure) in DeduceFunctionTypeFromReturnExpr()
3039 << OrigResultType.getType() << RetExpr->getType(); in DeduceFunctionTypeFromReturnExpr()
3047 Referencer.TraverseType(RetExpr->getType()); in DeduceFunctionTypeFromReturnExpr()
/external/clang/lib/AST/
DStmt.cpp889 return cast_or_null<Expr>(RetExpr); in getRetValue()
892 return cast_or_null<Expr>(RetExpr); in getRetValue()
DExprConstant.cpp3535 const Expr *RetExpr = cast<ReturnStmt>(S)->getRetValue(); in EvaluateStmt() local
3537 if (RetExpr && in EvaluateStmt()
3539 ? EvaluateInPlace(Result.Value, Info, *Result.Slot, RetExpr) in EvaluateStmt()
3540 : Evaluate(Result.Value, Info, RetExpr))) in EvaluateStmt()
/external/clang/utils/TableGen/
DNeonEmitter.cpp1380 std::string RetExpr; in emitBodyAsBuiltinCall() local
1382 RetExpr = RetVar.getName() + " = "; in emitBodyAsBuiltinCall()
1384 OS << " " << RetExpr << S; in emitBodyAsBuiltinCall()
/external/clang/include/clang/Sema/
DSema.h6425 Expr *&RetExpr, AutoType *AT);