Searched refs:RetE (Results 1 - 6 of 6) sorted by relevance
/freebsd-11.0-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 | 39 const Expr *RetE = RS->getRetValue(); local 40 if (!RetE) 43 SVal V = state->getSVal(RetE, C.getLocationContext()); 85 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 | 1355 if (Optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, FD)) 1356 Template->setRetEffect(*RetE); 1396 if (Optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, MD)) 1397 Template->setRetEffect(*RetE); 2915 static QualType GetReturnType(const Expr *RetE, ASTContext &Ctx) { argument 2916 QualType RetTy = RetE->getType(); 2917 // If RetE is not a message expression just return its type. 2918 // If RetE is a message expression, return its types if it is something 2920 if (const ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(RetE)) 3443 const Expr *RetE local [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 256 const Expr *RetE = Ret->getRetValue(); local 257 assert(RetE && "Tracking a return value for a void function"); 261 if (RetE->isGLValue()) { 263 SVal RValue = State->getRawSVal(*LValue, RetE->getType()); 274 RetE = RetE->IgnoreParenCasts(); 280 ReturnVisitor::addVisitorIfNecessary(N, RetE, BR, 286 bugreporter::trackNullOrUndefValue(N, RetE, BR, /*IsArg*/ false, 302 if (RetE->getType()->isObjCObjectPointerType()) 320 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(RetE)) [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 685 const Expr *RetE = RS->getRetValue(); local 688 (RetE ? RetE->getType() : Context.VoidTy).getUnqualifiedType();
|
Completed in 180 milliseconds