| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MIGChecker.cpp | 39 class MIGChecker : public Checker<check::PostCall, check::PreStmt<ReturnStmt>, 95 void checkReturnAux(const ReturnStmt *RS, CheckerContext &C) const; 106 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt() 109 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const { in checkEndFunction() 249 void MIGChecker::checkReturnAux(const ReturnStmt *RS, CheckerContext &C) const { in checkReturnAux()
|
| H A D | ReturnUndefChecker.cpp | 26 class ReturnUndefChecker : public Checker< check::PreStmt<ReturnStmt> > { 34 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const; 38 void ReturnUndefChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
|
| H A D | ReturnPointerRangeChecker.cpp | 28 public Checker< check::PreStmt<ReturnStmt> > { 34 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const; 38 void ReturnPointerRangeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
|
| H A D | CheckerDocumentation.cpp | 60 check::PreStmt<ReturnStmt>, 78 void checkPreStmt(const ReturnStmt *DS, CheckerContext &C) const {} in checkPreStmt() 197 void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const {} in checkEndFunction()
|
| H A D | VforkChecker.cpp | 46 check::Bind, check::PreStmt<ReturnStmt>> { 66 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const; 209 void VforkChecker::checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
|
| H A D | StackAddrEscapeChecker.cpp | 30 : public Checker<check::PreCall, check::PreStmt<ReturnStmt>, 49 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const; 50 void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const; 250 void StackAddrEscapeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt() 291 void StackAddrEscapeChecker::checkEndFunction(const ReturnStmt *RS, in checkEndFunction()
|
| H A D | TraversalChecker.cpp | 32 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const; 58 void TraversalDumper::checkEndFunction(const ReturnStmt *RS, in checkEndFunction()
|
| H A D | IdenticalExprChecker.cpp | 369 const ReturnStmt *ReturnStmt1 = cast<ReturnStmt>(Stmt1); in isIdenticalStmt() 370 const ReturnStmt *ReturnStmt2 = cast<ReturnStmt>(Stmt2); in isIdenticalStmt()
|
| H A D | ObjCSelfInitChecker.cpp | 59 check::PreStmt<ReturnStmt>, 73 void checkPreStmt(const ReturnStmt *S, CheckerContext &C) const; 207 void ObjCSelfInitChecker::checkPreStmt(const ReturnStmt *S, in checkPreStmt()
|
| H A D | VirtualCallChecker.cpp | 50 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const; 93 void VirtualCallChecker::checkEndFunction(const ReturnStmt *RS, in checkEndFunction()
|
| H A D | CheckObjCDealloc.cpp | 100 check::PreStmt<ReturnStmt>> { 133 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const; 134 void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const; 400 const ReturnStmt *RS, CheckerContext &C) const { in checkEndFunction() 406 const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
|
| H A D | TestAfterDivZeroChecker.cpp | 87 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const; 180 void TestAfterDivZeroChecker::checkEndFunction(const ReturnStmt *, in checkEndFunction() argument
|
| /src/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | ConstructionContext.h | 96 ConstructionContextItem(const ReturnStmt *RS) in ConstructionContextItem() 583 const ReturnStmt *RS; 587 const ReturnStmt *RS) in ReturnedValueConstructionContext() 594 const ReturnStmt *getReturnStmt() const { return RS; } in getReturnStmt() 611 explicit SimpleReturnedValueConstructionContext(const ReturnStmt *RS) in SimpleReturnedValueConstructionContext() 636 const ReturnStmt *RS, const CXXBindTemporaryExpr *BTE) in CXX17ElidedCopyReturnedValueConstructionContext()
|
| H A D | ProgramPoint.h | 332 explicit FunctionExitPoint(const ReturnStmt *S, 341 const ReturnStmt *getStmt() const { in getStmt() 342 return reinterpret_cast<const ReturnStmt *>(getData1()); in getStmt() 669 CallExitBegin(const StackFrameContext *L, const ReturnStmt *RS) in CallExitBegin() 672 const ReturnStmt *getReturnStmt() const { in getReturnStmt() 673 return static_cast<const ReturnStmt *>(getData1()); in getReturnStmt()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.h | 325 ExplodedNode* checkReturnWithRetEffect(const ReturnStmt *S, CheckerContext &C, 331 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const; 355 const ReturnStmt *S=nullptr) const; 372 ExplodedNode * processReturn(const ReturnStmt *S, CheckerContext &C) const;
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 1190 ReturnStmt::ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() function in ReturnStmt 1199 ReturnStmt::ReturnStmt(EmptyShell Empty, bool HasNRVOCandidate) in ReturnStmt() function in ReturnStmt 1204 ReturnStmt *ReturnStmt::Create(const ASTContext &Ctx, SourceLocation RL, in Create() 1208 alignof(ReturnStmt)); in Create() 1209 return new (Mem) ReturnStmt(RL, E, NRVOCandidate); in Create() 1212 ReturnStmt *ReturnStmt::CreateEmpty(const ASTContext &Ctx, in CreateEmpty() 1215 alignof(ReturnStmt)); in CreateEmpty() 1216 return new (Mem) ReturnStmt(EmptyShell(), HasNRVOCandidate); in CreateEmpty()
|
| H A D | StmtCXX.cpp | 123 SubStmts[CoroutineBodyStmt::ReturnStmt] = Args.ReturnStmt; in CoroutineBodyStmt()
|
| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 332 ReturnStmt, ///< Return statement for the thunk function. enumerator 359 Stmt *ReturnStmt = nullptr; member 416 auto *RS = dyn_cast_or_null<clang::ReturnStmt>(getReturnStmt()); in getReturnValue() 419 Stmt *getReturnStmt() const { return getStoredStmts()[SubStmt::ReturnStmt]; } in getReturnStmt()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CoreEngine.cpp | 261 const ReturnStmt *RS = nullptr; in HandleBlockEdge() 265 RS = dyn_cast<ReturnStmt>(LastStmt->getStmt()); in HandleBlockEdge() 268 RS = dyn_cast<ReturnStmt>(AutoDtor->getTriggerStmt()); in HandleBlockEdge() 581 const ReturnStmt *RS) { in generateCallExitBeginNode() 605 void CoreEngine::enqueueEndOfFunction(ExplodedNodeSet &Set, const ReturnStmt *RS) { in enqueueEndOfFunction()
|
| H A D | Environment.cpp | 94 assert((isa<Expr, ReturnStmt>(S)) && in getSVal() 126 const auto *RS = cast<ReturnStmt>(S); in getSVal()
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 1271 StmtResult ReturnStmt = in makeReturnOnAllocFailure() local 1273 if (ReturnStmt.isInvalid()) { in makeReturnOnAllocFailure() 1281 this->ReturnStmtOnAllocFailure = ReturnStmt.get(); in makeReturnOnAllocFailure() 1778 StmtResult ReturnStmt; in makeGroDeclAndReturnStmt() local 1781 ReturnStmt = S.BuildReturnStmt(Loc, ReturnValue); in makeGroDeclAndReturnStmt() 1821 ReturnStmt = S.BuildReturnStmt(Loc, declRef.get()); in makeGroDeclAndReturnStmt() 1824 if (ReturnStmt.isInvalid()) { in makeGroDeclAndReturnStmt() 1830 cast<clang::ReturnStmt>(ReturnStmt.get())->getNRVOCandidate() == GroDecl) in makeGroDeclAndReturnStmt() 1833 this->ReturnStmt = ReturnStmt.get(); in makeGroDeclAndReturnStmt()
|
| /src/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ConstructionContext.cpp | 120 const auto *RS = cast<ReturnStmt>(ParentItem.getStmt()); in createBoundTemporaryFromLayers() 189 const auto *RS = cast<ReturnStmt>(TopItem.getStmt()); in createFromLayers()
|
| /src/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransUnbridgedCasts.cpp | 184 isa<ReturnStmt>(StmtMap->getParentIgnoreParenCasts(E))) { in transformNonObjCToObjCCast() 376 if (ReturnStmt *retS = dyn_cast_or_null<ReturnStmt>(parent)) { in transformObjCToNonObjCCast()
|
| H A D | TransRetainReleaseDealloc.cpp | 197 if (ReturnStmt *RetS = dyn_cast<ReturnStmt>(nextStmt)) in isReturnedAfterAutorelease()
|
| /src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ExprEngine.h | 68 class ReturnStmt; variable 365 const ReturnStmt *RS = nullptr); 526 void VisitReturnStmt(const ReturnStmt *R, ExplodedNode *Pred,
|