| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MIGChecker.cpp | 38 class MIGChecker : public Checker<check::PostCall, check::PreStmt<ReturnStmt>, 91 void checkReturnAux(const ReturnStmt *RS, CheckerContext &C) const; 102 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt() 105 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const { in checkEndFunction() 248 void MIGChecker::checkReturnAux(const ReturnStmt *RS, CheckerContext &C) const { in checkReturnAux()
|
| H A D | ReturnPointerRangeChecker.cpp | 28 public Checker< check::PreStmt<ReturnStmt> > { 32 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const; 36 void ReturnPointerRangeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
|
| 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 | CheckerDocumentation.cpp | 36 class CheckerDocumentation : public Checker< check::PreStmt<ReturnStmt>, 72 void checkPreStmt(const ReturnStmt *DS, CheckerContext &C) const {} in checkPreStmt() 194 void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const {} in checkEndFunction()
|
| H A D | VforkChecker.cpp | 45 check::Bind, check::PreStmt<ReturnStmt>> { 65 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const; 212 void VforkChecker::checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
|
| 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 | 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; 252 void StackAddrEscapeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt() 294 void StackAddrEscapeChecker::checkEndFunction(const ReturnStmt *RS, in checkEndFunction()
|
| H A D | ReturnValueChecker.cpp | 33 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const; 118 void ReturnValueChecker::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; 210 void ObjCSelfInitChecker::checkPreStmt(const ReturnStmt *S, in checkPreStmt()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-return.h | 15 struct ReturnStmt; 22 void Leave(const parser::ReturnStmt &);
|
| /llvm-project-15.0.7/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 | 336 explicit FunctionExitPoint(const ReturnStmt *S, 345 const ReturnStmt *getStmt() const { in getStmt() 346 return reinterpret_cast<const ReturnStmt *>(getData1()); in getStmt() 670 CallExitBegin(const StackFrameContext *L, const ReturnStmt *RS) in CallExitBegin() 673 const ReturnStmt *getReturnStmt() const { in getReturnStmt() 674 return static_cast<const ReturnStmt *>(getData1()); in getReturnStmt()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.h | 326 ExplodedNode* checkReturnWithRetEffect(const ReturnStmt *S, CheckerContext &C, 332 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const; 356 const ReturnStmt *S=nullptr) const; 373 ExplodedNode * processReturn(const ReturnStmt *S, CheckerContext &C) const;
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/ |
| H A D | rewrite.pdll | 22 // CHECK: `-ReturnStmt {{.*}} 40 // CHECK: `-ReturnStmt {{.*}}
|
| H A D | constraint.pdll | 22 // CHECK: `-ReturnStmt {{.*}} 39 // CHECK: `-ReturnStmt {{.*}}
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | usrs.m | 184 // CHECK-source: usrs.m:3:45: ReturnStmt= Extent=[3:45 - 3:57] 223 // CHECK-source: usrs.m:38:3: ReturnStmt= Extent=[38:3 - 38:11] 231 // CHECK-source: usrs.m:42:3: ReturnStmt= Extent=[42:3 - 42:11] 239 // CHECK-source: usrs.m:49:32: ReturnStmt= Extent=[49:32 - 49:40] 260 // CHECK-source: usrs.m:64:16: ReturnStmt= Extent=[64:16 - 64:24] 266 // CHECK-source: usrs.m:65:16: ReturnStmt= Extent=[65:16 - 65:24] 272 // CHECK-source: usrs.m:66:16: ReturnStmt= Extent=[66:16 - 66:24] 280 // CHECK-source: usrs.m:69:16: ReturnStmt= Extent=[69:16 - 69:24] 302 // CHECK-source: usrs.m:76:3: ReturnStmt= Extent=[76:3 - 76:11]
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/ |
| H A D | Nodes.cpp | 56 const ReplaceStmt, const ReturnStmt, const RewriteStmt, in visit() 89 void visitImpl(const ReturnStmt *stmt) { visit(stmt->getResultExpr()); } in visitImpl() 244 ReturnStmt *ReturnStmt::create(Context &ctx, SMRange loc, Expr *resultExpr) { in create() 245 return new (ctx.getAllocator().Allocate<ReturnStmt>()) in create() 246 ReturnStmt(loc, resultExpr); in create()
|
| /llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/ |
| H A D | TestingSupportTest.cpp | 57 TEST(BuildStatementToAnnotationMappingTest, ReturnStmt) { in TEST() argument 67 EXPECT_TRUE(isa<ReturnStmt>(Annotations.begin()->first)); in TEST()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Stmt.cpp | 1187 ReturnStmt::ReturnStmt(SourceLocation RL, Expr *E, const VarDecl *NRVOCandidate) in ReturnStmt() function in ReturnStmt 1196 ReturnStmt::ReturnStmt(EmptyShell Empty, bool HasNRVOCandidate) in ReturnStmt() function in ReturnStmt 1201 ReturnStmt *ReturnStmt::Create(const ASTContext &Ctx, SourceLocation RL, in Create() 1205 alignof(ReturnStmt)); in Create() 1206 return new (Mem) ReturnStmt(RL, E, NRVOCandidate); in Create() 1209 ReturnStmt *ReturnStmt::CreateEmpty(const ASTContext &Ctx, in CreateEmpty() 1212 alignof(ReturnStmt)); in CreateEmpty() 1213 return new (Mem) ReturnStmt(EmptyShell(), HasNRVOCandidate); in CreateEmpty()
|
| H A D | StmtCXX.cpp | 121 SubStmts[CoroutineBodyStmt::ReturnStmt] = Args.ReturnStmt; in CoroutineBodyStmt()
|
| /llvm-project-15.0.7/clang/test/Import/objc-autoreleasepool/ |
| H A D | test.m | 6 // CHECK-NEXT: ReturnStmt
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 330 ReturnStmt, ///< Return statement for the thunk function. enumerator 356 Stmt *ReturnStmt = nullptr; member 412 auto *RS = cast<clang::ReturnStmt>(getReturnStmt()); in getReturnValue() 415 Stmt *getReturnStmt() const { return getStoredStmts()[SubStmt::ReturnStmt]; } in getReturnStmt()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | CoreEngine.cpp | 273 const ReturnStmt *RS = nullptr; in HandleBlockEdge() 277 RS = dyn_cast<ReturnStmt>(LastStmt->getStmt()); in HandleBlockEdge() 280 RS = dyn_cast<ReturnStmt>(AutoDtor->getTriggerStmt()); in HandleBlockEdge() 594 const ReturnStmt *RS) { in generateCallExitBeginNode() 618 void CoreEngine::enqueueEndOfFunction(ExplodedNodeSet &Set, const ReturnStmt *RS) { in enqueueEndOfFunction()
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | block-cleanup.mm | 5 // CHECK-NEXT: -ReturnStmt
|