| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ReturnValueChecker.cpp | 120 if (!RS || !RS->getRetValue()) in checkEndFunction() 138 SVal ReturnV = State->getSVal(RS->getRetValue(), C.getLocationContext()); in checkEndFunction()
|
| H A D | ReturnPointerRangeChecker.cpp | 40 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
|
| H A D | ReturnUndefChecker.cpp | 40 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
|
| H A D | IdenticalExprChecker.cpp | 372 return isIdenticalStmt(Ctx, ReturnStmt1->getRetValue(), in isIdenticalStmt() 373 ReturnStmt2->getRetValue(), IgnoreSideEffects); in isIdenticalStmt()
|
| H A D | MIGChecker.cpp | 289 N, RS->getRetValue(), *R, in checkReturnAux()
|
| H A D | ObjCSelfInitChecker.cpp | 217 checkForInvalidSelf(S->getRetValue(), C, in checkPreStmt()
|
| H A D | StackAddrEscapeChecker.cpp | 257 const Expr *RetE = RS->getRetValue(); in checkPreStmt()
|
| H A D | NullabilityChecker.cpp | 571 auto RetExpr = S->getRetValue(); in checkPreStmt()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransAutoreleasePool.cpp | 308 if ((retS->getRetValue() == nullptr || in handlePoolScope() 309 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) && in handlePoolScope()
|
| H A D | TransRetainReleaseDealloc.cpp | 198 return RefD == getReferencedDecl(RetS->getRetValue()); in isReturnedAfterAutorelease()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.cpp | 164 if (const Expr *RE = RS->getRetValue()) { in visitReturnStmt()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ConstructionContext.cpp | 121 assert(!RS->getRetValue()->getType().getCanonicalType() in createBoundTemporaryFromLayers()
|
| H A D | ReachableCode.cpp | 95 if (const Expr *RE = RS->getRetValue()) { in isDeadReturn()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | Environment.cpp | 125 if (const Expr *RE = RS->getRetValue()) in getSVal()
|
| H A D | ExprEngineCXX.cpp | 229 const Expr *RetE = RCC->getReturnStmt()->getRetValue(); in computeObjectUnderConstruction()
|
| H A D | ExprEngineCallAndReturn.cpp | 1240 if (RS->getRetValue()) { in VisitReturnStmt()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | SimplifyBooleanExprCheck.cpp | 330 if (!RS || !RS->getRetValue()) in parseReturnLiteralBool() 333 getAsBoolLiteral(RS->getRetValue()->IgnoreImplicit(), false)) { in parseReturnLiteralBool() 334 return {RS->getRetValue(), *Ret}; in parseReturnLiteralBool()
|
| H A D | NonConstParameterCheck.cpp | 101 markCanNotBeConst(R->getRetValue(), true); in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Hover.cpp | 491 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 D | StmtCXX.h | 413 return RS->getRetValue(); in getReturnValue()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 443 if (S->getRetValue()) in VisitReturnStmt() 444 Visit(S->getRetValue()); in VisitReturnStmt()
|
| H A D | CoverageMappingGen.cpp | 1019 if (S->getRetValue()) in VisitReturnStmt() 1020 Visit(S->getRetValue()); in VisitReturnStmt()
|
| H A D | CGStmt.cpp | 717 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 D | SemaLambda.cpp | 641 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 D | StmtPrinter.cpp | 478 if (Node->getRetValue()) { in VisitReturnStmt() 480 PrintExpr(Node->getRetValue()); in VisitReturnStmt()
|