Searched refs:RetE (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DReturnUndefChecker.cpp30 void emitUndef(CheckerContext &C, const Expr *RetE) const;
31 void checkReference(CheckerContext &C, const Expr *RetE,
40 const Expr *RetE = RS->getRetValue(); local
41 if (!RetE)
43 SVal RetVal = C.getSVal(RetE);
64 RetE->getType()->isVoidType())
67 emitUndef(C, RetE);
75 checkReference(C, RetE, RetVal.castAs<DefinedOrUnknownSVal>());
80 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 DReturnPointerRangeChecker.cpp39 const Expr *RetE = RS->getRetValue(); local
40 if (!RetE)
43 SVal V = C.getSVal(RetE);
85 report->addRange(RetE->getSourceRange());
H A DStackAddrEscapeChecker.cpp58 const Expr *RetE) const;
154 const Expr *RetE) const {
169 report->addRange(RetE->getSourceRange());
257 const Expr *RetE = RS->getRetValue(); local
258 if (!RetE)
260 RetE = RetE->IgnoreParens();
262 SVal V = C.getSVal(RetE);
277 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE))
278 RetE
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp394 static QualType GetReturnType(const Expr *RetE, ASTContext &Ctx) { argument
395 QualType RetTy = RetE->getType();
396 // If RetE is not a message expression just return its type.
397 // If RetE is a message expression, return its types if it is something
399 if (const ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(RetE))
978 const Expr *RetE = S->getRetValue(); local
979 if (!RetE)
985 SymbolRef Sym = state->getSValAsScalarOrLoc(RetE, C.getLocationContext())
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp213 const Expr *RetE = RCC->getReturnStmt()->getRetValue(); local
214 assert(RetE && "Void returns should not have a construction context");
215 QualType ReturnTy = RetE->getType();
217 return SVB.conjureSymbolVal(&TopLevelSymRegionTag, RetE, SFC, RegionTy,
H A DBugReporterVisitors.cpp1027 const Expr *RetE = Ret->getRetValue(); local
1028 assert(RetE && "Tracking a return value for a void function");
1032 if (RetE->isGLValue()) {
1034 SVal RValue = State->getRawSVal(*LValue, RetE->getType());
1045 RetE = RetE->IgnoreParenCasts();
1049 N, RetE, BR, TKind, EnableNullFPSuppression);
1067 if (RetE->getType()->isObjCObjectPointerType()) {
1105 if (const auto *DR = dyn_cast<DeclRefExpr>(RetE))
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp988 if (Optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, FD))
989 Template->setRetEffect(*RetE);
1015 if (Optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, MD))
1016 Template->setRetEffect(*RetE);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp761 const Expr *RetE = RS->getRetValue(); local
764 (RetE ? RetE->getType() : Context.VoidTy).getUnqualifiedType();

Completed in 131 milliseconds