Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DReturnUndefChecker.cpp37 const Expr *RetE = RS->getRetValue(); in checkPreStmt() local
38 if (!RetE) in checkPreStmt()
41 if (!C.getState()->getSVal(RetE).isUndef()) in checkPreStmt()
56 report->addRange(RetE->getSourceRange()); in checkPreStmt()
57 report->addVisitorCreator(bugreporter::registerTrackNullOrUndefValue, RetE); in checkPreStmt()
DReturnPointerRangeChecker.cpp38 const Expr *RetE = RS->getRetValue(); in checkPreStmt() local
39 if (!RetE) in checkPreStmt()
42 SVal V = state->getSVal(RetE); in checkPreStmt()
84 report->addRange(RetE->getSourceRange()); in checkPreStmt()
DStackAddrEscapeChecker.cpp37 const Expr *RetE) const;
87 const Expr *RetE) const { in EmitStackError()
103 report->addRange(RetE->getSourceRange()); in EmitStackError()
113 const Expr *RetE = RS->getRetValue(); in checkPreStmt() local
114 if (!RetE) in checkPreStmt()
117 SVal V = C.getState()->getSVal(RetE); in checkPreStmt()
129 EmitStackError(C, R, RetE); in checkPreStmt()
DStreamChecker.cpp444 const Expr *RetE = S->getRetValue(); in checkPreStmt() local
445 if (!RetE) in checkPreStmt()
449 SymbolRef Sym = state->getSVal(RetE).getAsSymbol(); in checkPreStmt()
/external/clang/lib/StaticAnalyzer/Core/
DCFRefCount.cpp2518 static QualType GetReturnType(const Expr* RetE, ASTContext& Ctx) { in GetReturnType() argument
2519 QualType RetTy = RetE->getType(); in GetReturnType()
2523 if (const ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(RetE)) in GetReturnType()
2932 const Expr* RetE = S->getRetValue(); in evalReturn() local
2933 if (!RetE) in evalReturn()
2937 SymbolRef Sym = state->getSValAsScalarOrLoc(RetE).getAsLocSymbol(); in evalReturn()
DExprEngine.cpp2840 if (const Expr *RetE = RS->getRetValue()) { in VisitReturnStmt() local
2846 state = state->set<ReturnExpr>(RetE); in VisitReturnStmt()
2847 Pred = Builder->generateNode(RetE, state, Pred, &tag); in VisitReturnStmt()
2851 Visit(RetE, Pred, Src); in VisitReturnStmt()