Searched refs:RetE (Results 1 - 7 of 7) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ReturnUndefChecker.cpp | 37 const Expr *RetE = RS->getRetValue(); local 38 if (!RetE) 41 if (!C.getState()->getSVal(RetE, C.getLocationContext()).isUndef()) 56 report->addRange(RetE->getSourceRange()); 57 bugreporter::trackNullOrUndefValue(N, RetE, *report);
|
H A D | ReturnPointerRangeChecker.cpp | 38 const Expr *RetE = RS->getRetValue(); local 39 if (!RetE) 42 SVal V = state->getSVal(RetE, C.getLocationContext()); 84 report->addRange(RetE->getSourceRange());
|
H A D | StackAddrEscapeChecker.cpp | 37 const Expr *RetE) const; 92 const Expr *RetE) const { 108 report->addRange(RetE->getSourceRange()); 118 const Expr *RetE = RS->getRetValue(); local 119 if (!RetE) 121 RetE = RetE->IgnoreParens(); 124 SVal V = C.getState()->getSVal(RetE, LCtx); 150 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) 151 RetE [all...] |
H A D | StreamChecker.cpp | 453 const Expr *RetE = S->getRetValue(); local 454 if (!RetE) 458 SymbolRef Sym = state->getSVal(RetE, C.getLocationContext()).getAsSymbol();
|
H A D | RetainCountChecker.cpp | 2745 static QualType GetReturnType(const Expr *RetE, ASTContext &Ctx) { argument 2746 QualType RetTy = RetE->getType(); 2747 // If RetE is not a message expression just return its type. 2748 // If RetE is a message expression, return its types if it is something 2750 if (const ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(RetE)) 3223 const Expr *RetE = S->getRetValue(); local 3224 if (!RetE) 3229 state->getSValAsScalarOrLoc(RetE, C.getLocationContext()).getAsLocSymbol();
|
/external/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 326 const Expr *RetE = RS->getRetValue(); local 327 if (!checkReturnValueType(Ctx, RetE, CSI.ReturnType, AlternateType)) { 331 << (RetE ? RetE->getType() : Ctx.VoidTy) << CSI.ReturnType 347 Expr *RetE = RS->getRetValue(); local 348 if (RetE->getType() == CSI.ReturnType) 353 assert(RetE->getType()->isIntegralOrUnscopedEnumerationType()); 354 ExprResult Casted = ImpCastExprToType(RetE, CSI.ReturnType,
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 214 const Expr *RetE = Ret->getRetValue(); local 215 assert(RetE && "Tracking a return value for a void function"); 216 RetE = RetE->IgnoreParenCasts(); 223 bugreporter::trackNullOrUndefValue(N, RetE, BR); 226 if (RetE->getType()->isObjCObjectPointerType()) 240 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(RetE))
|
Completed in 327 milliseconds