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

/freebsd-11-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.cpp38 const Expr *RetE = RS->getRetValue(); local
39 if (!RetE)
42 SVal V = C.getSVal(RetE);
85 report->addRange(RetE->getSourceRange());
H A DStackAddrEscapeChecker.cpp57 const Expr *RetE) const;
153 const Expr *RetE) const {
167 report->addRange(RetE->getSourceRange());
253 const Expr *RetE = RS->getRetValue(); local
254 if (!RetE)
256 RetE = RetE->IgnoreParens();
258 SVal V = C.getSVal(RetE);
273 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE))
274 RetE
[all...]
/freebsd-11-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-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp222 const Expr *RetE = RCC->getReturnStmt()->getRetValue(); local
223 assert(RetE && "Void returns should not have a construction context");
224 QualType ReturnTy = RetE->getType();
226 SVal V = SVB.conjureSymbolVal(&TopLevelSymRegionTag, RetE, SFC,
H A DBugReporterVisitors.cpp1028 const Expr *RetE = Ret->getRetValue(); local
1029 assert(RetE && "Tracking a return value for a void function");
1033 if (RetE->isGLValue()) {
1035 SVal RValue = State->getRawSVal(*LValue, RetE->getType());
1046 RetE = RetE->IgnoreParenCasts();
1050 N, RetE, BR, TKind, EnableNullFPSuppression);
1068 if (RetE->getType()->isObjCObjectPointerType()) {
1106 if (const auto *DR = dyn_cast<DeclRefExpr>(RetE))
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp984 if (Optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, FD))
985 Template->setRetEffect(*RetE);
1011 if (Optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, MD))
1012 Template->setRetEffect(*RetE);
/freebsd-11-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 138 milliseconds