Home
last modified time | relevance | path

Searched refs:getRetValue (Results 1 – 25 of 39) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DReturnValueChecker.cpp120 if (!RS || !RS->getRetValue()) in checkEndFunction()
138 SVal ReturnV = State->getSVal(RS->getRetValue(), C.getLocationContext()); in checkEndFunction()
H A DReturnPointerRangeChecker.cpp40 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
H A DReturnUndefChecker.cpp40 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
H A DIdenticalExprChecker.cpp372 return isIdenticalStmt(Ctx, ReturnStmt1->getRetValue(), in isIdenticalStmt()
373 ReturnStmt2->getRetValue(), IgnoreSideEffects); in isIdenticalStmt()
H A DMIGChecker.cpp289 N, RS->getRetValue(), *R, in checkReturnAux()
H A DObjCSelfInitChecker.cpp217 checkForInvalidSelf(S->getRetValue(), C, in checkPreStmt()
H A DStackAddrEscapeChecker.cpp257 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
H A DNullabilityChecker.cpp571 auto RetExpr = S->getRetValue(); in checkPreStmt()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp308 if ((retS->getRetValue() == nullptr || in handlePoolScope()
309 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) && in handlePoolScope()
H A DTransRetainReleaseDealloc.cpp198 return RefD == getReferencedDecl(RetS->getRetValue()); in isReturnedAfterAutorelease()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp164 if (const Expr *RE = RS->getRetValue()) { in visitReturnStmt()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConstructionContext.cpp121 assert(!RS->getRetValue()->getType().getCanonicalType() in createBoundTemporaryFromLayers()
H A DReachableCode.cpp95 if (const Expr *RE = RS->getRetValue()) { in isDeadReturn()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp125 if (const Expr *RE = RS->getRetValue()) in getSVal()
H A DExprEngineCXX.cpp229 const Expr *RetE = RCC->getReturnStmt()->getRetValue(); in computeObjectUnderConstruction()
H A DExprEngineCallAndReturn.cpp1240 if (RS->getRetValue()) { in VisitReturnStmt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DSimplifyBooleanExprCheck.cpp330 if (!RS || !RS->getRetValue()) in parseReturnLiteralBool()
333 getAsBoolLiteral(RS->getRetValue()->IgnoreImplicit(), false)) { in parseReturnLiteralBool()
334 return {RS->getRetValue(), *Ret}; in parseReturnLiteralBool()
H A DNonConstParameterCheck.cpp101 markCanNotBeConst(R->getRetValue(), true); in check()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHover.cpp491 if (!OnlyReturn || !OnlyReturn->getRetValue()) in getterVariableName()
493 return fieldName(OnlyReturn->getRetValue()); in getterVariableName()
516 if (!Ret || !Ret->getRetValue()) in setterVariableName()
518 const Expr *RetVal = Ret->getRetValue()->IgnoreCasts(); in setterVariableName()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmtCXX.h413 return RS->getRetValue(); in getReturnValue()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenPGO.cpp443 if (S->getRetValue()) in VisitReturnStmt()
444 Visit(S->getRetValue()); in VisitReturnStmt()
H A DCoverageMappingGen.cpp1019 if (S->getRetValue()) in VisitReturnStmt()
1020 Visit(S->getRetValue()); in VisitReturnStmt()
H A DCGStmt.cpp717 musttail = cast<CallExpr>(R->getRetValue()->IgnoreParens()); in EmitAttributedStmt()
1295 const Expr *RV = S.getRetValue(); in EmitReturnStmt()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLambda.cpp641 if (Expr *retValue = ret->getRetValue()) in findEnumForBlockReturn()
675 Expr *retValue = ret->getRetValue(); in adjustBlockReturnsToEnum()
765 const Expr *RetE = RS->getRetValue(); in deduceClosureReturnType()
/llvm-project-15.0.7/clang/lib/AST/
H A DStmtPrinter.cpp478 if (Node->getRetValue()) { in VisitReturnStmt()
480 PrintExpr(Node->getRetValue()); in VisitReturnStmt()

12