Home
last modified time | relevance | path

Searched refs:RetE (Results 1 – 9 of 9) sorted by relevance

/openbsd-src/gnu/llvm/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(); in checkPreStmt() local
41 if (!RetE) in checkPreStmt()
43 SVal RetVal = C.getSVal(RetE); in checkPreStmt()
64 RetE->getType()->isVoidType()) in checkPreStmt()
67 emitUndef(C, RetE); in checkPreStmt()
75 checkReference(C, RetE, RetVal.castAs<DefinedOrUnknownSVal>()); in checkPreStmt()
80 static void emitBug(CheckerContext &C, BuiltinBug &BT, const Expr *RetE, in emitBug() argument
89 Report->addRange(RetE->getSourceRange()); in emitBug()
[all …]
H A DReturnPointerRangeChecker.cpp40 const Expr *RetE = RS->getRetValue(); in checkPreStmt() local
41 if (!RetE) in checkPreStmt()
45 if (RetE->getSourceRange().isInvalid()) in checkPreStmt()
48 SVal V = C.getSVal(RetE); in checkPreStmt()
90 Report->addRange(RetE->getSourceRange()); in checkPreStmt()
119 {RetE, C.getSourceManager(), C.getLocationContext()}); in checkPreStmt()
122 bugreporter::trackExpressionValue(N, RetE, *Report); in checkPreStmt()
H A DStackAddrEscapeChecker.cpp58 const Expr *RetE) const;
146 const Expr *RetE) const { in EmitStackError()
161 report->addRange(RetE->getSourceRange()); in EmitStackError()
249 const Expr *RetE = RS->getRetValue(); in checkPreStmt() local
250 if (!RetE) in checkPreStmt()
252 RetE = RetE->IgnoreParens(); in checkPreStmt()
254 SVal V = C.getSVal(RetE); in checkPreStmt()
268 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in checkPreStmt()
269 RetE = Cleanup->getSubExpr(); in checkPreStmt()
270 if (isa<CXXConstructExpr>(RetE) && RetE->getType()->isRecordType()) in checkPreStmt()
[all …]
/openbsd-src/regress/lib/libcrypto/x509/bettertls/certificates/
H A D1713.chain20 n+9C+RetE+jd1cAWLJQ6ZNQ7U9DxHT2sEGHa0UeDXoqYBO2wyxXHlbb7EDVOQRpA
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp395 static QualType GetReturnType(const Expr *RetE, ASTContext &Ctx) { in GetReturnType() argument
396 QualType RetTy = RetE->getType(); in GetReturnType()
400 if (const ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(RetE)) in GetReturnType()
980 const Expr *RetE = S->getRetValue(); in processReturn() local
981 if (!RetE) in processReturn()
987 SymbolRef Sym = state->getSValAsScalarOrLoc(RetE, C.getLocationContext()) in processReturn()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DRetainSummaryManager.cpp994 if (std::optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, FD)) in updateSummaryFromAnnotations() local
995 Template->setRetEffect(*RetE); in updateSummaryFromAnnotations()
1021 if (std::optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, MD)) in updateSummaryFromAnnotations() local
1022 Template->setRetEffect(*RetE); in updateSummaryFromAnnotations()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp241 const Expr *RetE = RCC->getReturnStmt()->getRetValue(); in computeObjectUnderConstruction() local
242 assert(RetE && "Void returns should not have a construction context"); in computeObjectUnderConstruction()
243 QualType ReturnTy = RetE->getType(); in computeObjectUnderConstruction()
245 return SVB.conjureSymbolVal(&TopLevelSymRegionTag, RetE, SFC, RegionTy, in computeObjectUnderConstruction()
H A DBugReporterVisitors.cpp1022 const Expr *RetE = Ret->getRetValue(); in visitNodeInitial() local
1023 assert(RetE && "Tracking a return value for a void function"); in visitNodeInitial()
1027 if (RetE->isGLValue()) { in visitNodeInitial()
1029 SVal RValue = State->getRawSVal(*LValue, RetE->getType()); in visitNodeInitial()
1039 RetE = RetE->IgnoreParenCasts(); in visitNodeInitial()
1042 getParentTracker().track(RetE, N, {TKind, EnableNullFPSuppression}); in visitNodeInitial()
1060 if (RetE->getType()->isObjCObjectPointerType()) { in visitNodeInitial()
1095 if (const auto *DR = dyn_cast<DeclRefExpr>(RetE)) in visitNodeInitial()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaLambda.cpp773 const Expr *RetE = RS->getRetValue(); in deduceClosureReturnType() local
776 (RetE ? RetE->getType() : Context.VoidTy).getUnqualifiedType(); in deduceClosureReturnType()