Searched refs:RetE (Results 1 - 6 of 6) sorted by relevance
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ReturnUndefChecker.cpp | 31 void emitUndef(CheckerContext &C, const Expr *RetE) const; 32 void checkReference(CheckerContext &C, const Expr *RetE, 41 const Expr *RetE = RS->getRetValue(); local 42 if (!RetE) 44 SVal RetVal = C.getSVal(RetE); 65 RetE->getType()->isVoidType()) 68 emitUndef(C, RetE); 76 checkReference(C, RetE, RetVal.castAs<DefinedOrUnknownSVal>()); 81 static void emitBug(CheckerContext &C, BuiltinBug &BT, const Expr *RetE, argument 89 Report->addRange(RetE 103 checkReference(CheckerContext &C, const Expr *RetE, DefinedOrUnknownSVal RetVal) const argument [all...] |
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 | 39 const Expr *RetE) const; 96 const Expr *RetE) const { 112 report->addRange(RetE->getSourceRange()); 122 const Expr *RetE = RS->getRetValue(); local 123 if (!RetE) 125 RetE = RetE->IgnoreParens(); 128 SVal V = C.getState()->getSVal(RetE, LCtx); 154 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) 155 RetE [all...] |
H A D | RetainCountChecker.cpp | 1258 if (Optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, FD)) 1259 Template->setRetEffect(*RetE); 1289 if (Optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, MD)) 1290 Template->setRetEffect(*RetE); 2713 static QualType GetReturnType(const Expr *RetE, ASTContext &Ctx) { argument 2714 QualType RetTy = RetE->getType(); 2715 // If RetE is not a message expression just return its type. 2716 // If RetE is a message expression, return its types if it is something 2718 if (const ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(RetE)) 3179 const Expr *RetE local [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 260 const Expr *RetE = Ret->getRetValue(); local 261 assert(RetE && "Tracking a return value for a void function"); 265 if (RetE->isGLValue()) { 267 SVal RValue = State->getRawSVal(*LValue, RetE->getType()); 278 RetE = RetE->IgnoreParenCasts(); 284 ReturnVisitor::addVisitorIfNecessary(N, RetE, BR, 290 bugreporter::trackNullOrUndefValue(N, RetE, BR, /*IsArg*/ false, 306 if (RetE->getType()->isObjCObjectPointerType()) 324 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(RetE)) [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 596 const Expr *RetE = RS->getRetValue(); local 598 QualType ReturnType = (RetE ? RetE->getType() : Context.VoidTy);
|
Completed in 117 milliseconds