Searched refs:RetE (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StackAddrEscapeChecker.cpp | 57 const Expr *RetE) const; 169 const Expr *RetE) const { in EmitReturnLeakError() 184 EmitReturnedAsPartOfError(os, C.getSVal(RetE), R); in EmitReturnLeakError() 188 report->addRange(RetE->getSourceRange()); in EmitReturnLeakError() 312 const Expr *RetE, SVal &RetVal) { in FilterReturnExpressionLeaks() argument 321 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in FilterReturnExpressionLeaks() 322 RetE = Cleanup->getSubExpr(); in FilterReturnExpressionLeaks() 324 isa<CXXConstructExpr>(RetE) && RetE->getType()->isRecordType(); in FilterReturnExpressionLeaks() 329 if (const auto *ICE = dyn_cast<ImplicitCastExpr>(RetE)) { in FilterReturnExpressionLeaks() 348 FindEscapingStackRegions(CheckerContext &C, const Expr *RetE, SVal RetVal) { in FindEscapingStackRegions() argument [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 392 static QualType GetReturnType(const Expr *RetE, ASTContext &Ctx) { in GetReturnType() argument 393 QualType RetTy = RetE->getType(); in GetReturnType() 397 if (const ObjCMessageExpr *ME = dyn_cast<ObjCMessageExpr>(RetE)) in GetReturnType() 976 const Expr *RetE = S->getRetValue(); in processReturn() local 977 if (!RetE) in processReturn() 983 SymbolRef Sym = state->getSValAsScalarOrLoc(RetE, C.getLocationContext()) in processReturn()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | RetainSummaryManager.cpp | 989 if (std::optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, FD)) in updateSummaryFromAnnotations() local 990 Template->setRetEffect(*RetE); in updateSummaryFromAnnotations() 1016 if (std::optional<RetEffect> RetE = getRetEffectFromAnnotations(RetTy, MD)) in updateSummaryFromAnnotations() local 1017 Template->setRetEffect(*RetE); in updateSummaryFromAnnotations()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporterVisitors.cpp | 959 const Expr *RetE = Ret->getRetValue(); in visitNodeInitial() local 960 assert(RetE && "Tracking a return value for a void function"); in visitNodeInitial() 964 if (RetE->isGLValue()) { in visitNodeInitial() 966 SVal RValue = State->getRawSVal(*LValue, RetE->getType()); in visitNodeInitial() 976 RetE = RetE->IgnoreParenCasts(); in visitNodeInitial() 979 getParentTracker().track(RetE, N, {TKind, EnableNullFPSuppression}); in visitNodeInitial() 997 if (RetE->getType()->isObjCObjectPointerType()) { in visitNodeInitial() 1032 if (const auto *DR = dyn_cast<DeclRefExpr>(RetE)) in visitNodeInitial()
|
| H A D | ExprEngineCXX.cpp | 252 const Expr *RetE = RCC->getReturnStmt()->getRetValue(); in computeObjectUnderConstruction() local 253 assert(RetE && "Void returns should not have a construction context"); in computeObjectUnderConstruction() 254 QualType ReturnTy = RetE->getType(); in computeObjectUnderConstruction()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 779 const Expr *RetE = RS->getRetValue(); in deduceClosureReturnType() local 782 (RetE ? RetE->getType() : Context.VoidTy).getUnqualifiedType(); in deduceClosureReturnType()
|