/external/llvm-project/clang/test/Import/objc-try-catch/ |
D | test.m | 7 // CHECK-NEXT: CompoundStmt 17 // CHECK-NEXT: CompoundStmt 19 // CHECK-NEXT: CompoundStmt 22 // CHECK-NEXT: CompoundStmt 27 // CHECK-NEXT: CompoundStmt 34 // CHECK-NEXT: CompoundStmt 37 // CHECK-NEXT: CompoundStmt 39 // CHECK-NEXT: CompoundStmt
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | RedundantControlFlowCheck.cpp | 49 if (const auto *Return = Result.Nodes.getNodeAs<CompoundStmt>("return")) in check() 52 Result.Nodes.getNodeAs<CompoundStmt>("continue")) in check() 57 const MatchFinder::MatchResult &Result, const CompoundStmt *Block) { in checkRedundantReturn() 58 CompoundStmt::const_reverse_body_iterator last = Block->body_rbegin(); in checkRedundantReturn() 65 const MatchFinder::MatchResult &Result, const CompoundStmt *Block) { in checkRedundantContinue() 66 CompoundStmt::const_reverse_body_iterator last = Block->body_rbegin(); in checkRedundantContinue() 73 const MatchFinder::MatchResult &Result, const CompoundStmt *const Block, in issueDiagnostic() 79 CompoundStmt::const_reverse_body_iterator Previous = ++Block->body_rbegin(); in issueDiagnostic()
|
D | RedundantControlFlowCheck.h | 35 const CompoundStmt *Block); 39 const CompoundStmt *Block); 42 const CompoundStmt *Block, const SourceRange &StmtRange,
|
D | MisleadingIndentationCheck.cpp | 57 const CompoundStmt *CStmt) { in missingBracesCheck() 78 if (isa<CompoundStmt>(Inner)) in missingBracesCheck() 124 if (const auto *CStmt = Result.Nodes.getNodeAs<CompoundStmt>("compound")) in check()
|
/external/clang/test/Index/ |
D | c-index-getCursor-test.m | 114 // CHECK: [44:42 - 45:2] CompoundStmt= 118 // CHECK: [45:12 - 46:2] CompoundStmt= 125 // CHECK: [46:19 - 47:2] CompoundStmt= 134 // CHECK: [47:27 - 48:2] CompoundStmt= 140 // CHECK: [48:15 - 49:2] CompoundStmt= 144 // CHECK: [49:7 - 50:2] CompoundStmt= 148 // CHECK: [50:13 - 51:2] CompoundStmt= 156 // CHECK: [51:44 - 52:3] CompoundStmt= 164 // CHECK: [52:37 - 53:2] CompoundStmt=
|
D | annotate-tokens.m | 189 // CHECK: Punctuation: "{" [6:28 - 6:29] CompoundStmt= 192 // CHECK: Punctuation: ";" [7:11 - 7:12] CompoundStmt= 201 // CHECK: Punctuation: ";" [8:21 - 8:22] CompoundStmt= 202 // CHECK: Punctuation: "}" [9:1 - 9:2] CompoundStmt= 233 // CHECK: Punctuation: "{" [23:1 - 23:2] CompoundStmt= 239 // CHECK: Punctuation: "}" [25:1 - 25:2] CompoundStmt= 290 // CHECK: Punctuation: "{" [39:1 - 39:2] CompoundStmt= 294 // CHECK: Punctuation: ";" [40:20 - 40:21] CompoundStmt= 301 // CHECK: Punctuation: ";" [41:17 - 41:18] CompoundStmt= 302 // CHECK: Punctuation: "}" [42:1 - 42:2] CompoundStmt= [all …]
|
D | annotate-subscripting.m | 45 // CHECK: Punctuation: ";" [24:15 - 24:16] CompoundStmt= 62 // CHECK: Punctuation: ";" [26:22 - 26:23] CompoundStmt= 70 // CHECK: Punctuation: ";" [33:30 - 33:31] CompoundStmt= 77 // CHECK: Punctuation: ";" [34:30 - 34:31] CompoundStmt=
|
/external/llvm-project/clang/test/Index/ |
D | c-index-getCursor-test.m | 114 // CHECK: [44:42 - 45:2] CompoundStmt= 118 // CHECK: [45:12 - 46:2] CompoundStmt= 125 // CHECK: [46:19 - 47:2] CompoundStmt= 134 // CHECK: [47:27 - 48:2] CompoundStmt= 140 // CHECK: [48:15 - 49:2] CompoundStmt= 144 // CHECK: [49:7 - 50:2] CompoundStmt= 148 // CHECK: [50:13 - 51:2] CompoundStmt= 156 // CHECK: [51:44 - 52:3] CompoundStmt= 164 // CHECK: [52:37 - 53:2] CompoundStmt=
|
D | annotate-tokens.m | 189 // CHECK: Punctuation: "{" [6:28 - 6:29] CompoundStmt= 192 // CHECK: Punctuation: ";" [7:11 - 7:12] CompoundStmt= 201 // CHECK: Punctuation: ";" [8:21 - 8:22] CompoundStmt= 202 // CHECK: Punctuation: "}" [9:1 - 9:2] CompoundStmt= 233 // CHECK: Punctuation: "{" [23:1 - 23:2] CompoundStmt= 239 // CHECK: Punctuation: "}" [25:1 - 25:2] CompoundStmt= 290 // CHECK: Punctuation: "{" [39:1 - 39:2] CompoundStmt= 294 // CHECK: Punctuation: ";" [40:20 - 40:21] CompoundStmt= 301 // CHECK: Punctuation: ";" [41:17 - 41:18] CompoundStmt= 302 // CHECK: Punctuation: "}" [42:1 - 42:2] CompoundStmt= [all …]
|
D | annotate-subscripting.m | 45 // CHECK: Punctuation: ";" [24:15 - 24:16] CompoundStmt= 62 // CHECK: Punctuation: ";" [26:22 - 26:23] CompoundStmt= 70 // CHECK: Punctuation: ";" [33:30 - 33:31] CompoundStmt= 77 // CHECK: Punctuation: ";" [34:30 - 34:31] CompoundStmt=
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 116 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(Stmt1)) { in VisitIfStmt() 162 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt1)) { in VisitIfStmt() 166 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt2)) { in VisitIfStmt() 429 const CompoundStmt *CompStmt1 = cast<CompoundStmt>(Stmt1); in isIdenticalStmt() 430 const CompoundStmt *CompStmt2 = cast<CompoundStmt>(Stmt2); in isIdenticalStmt() 435 CompoundStmt::const_body_iterator I1 = CompStmt1->body_begin(); in isIdenticalStmt() 436 CompoundStmt::const_body_iterator I2 = CompStmt2->body_begin(); in isIdenticalStmt()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 115 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(Stmt1)) { in VisitIfStmt() 161 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt1)) { in VisitIfStmt() 165 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt2)) { in VisitIfStmt() 433 const CompoundStmt *CompStmt1 = cast<CompoundStmt>(Stmt1); in isIdenticalStmt() 434 const CompoundStmt *CompStmt2 = cast<CompoundStmt>(Stmt2); in isIdenticalStmt() 439 CompoundStmt::const_body_iterator I1 = CompStmt1->body_begin(); in isIdenticalStmt() 440 CompoundStmt::const_body_iterator I2 = CompStmt2->body_begin(); in isIdenticalStmt()
|
/external/clang/test/Misc/ |
D | ast-dump-stmt.m | 30 // CHECK-NEXT: CompoundStmt 33 // CHECK-NEXT: CompoundStmt 35 // CHECK-NEXT: CompoundStmt
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransEmptyStatementsAndDealloc.cpp | 87 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt() 154 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr() 155 for (CompoundStmt::body_iterator in TraverseStmtExpr() 164 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt() 184 static bool isBodyEmpty(CompoundStmt *body, ASTContext &Ctx, in isBodyEmpty()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | SwapIfBranches.cpp | 57 if (dyn_cast_or_null<CompoundStmt>(N->ASTNode.get<Stmt>())) in REGISTER_TWEAK() 63 return If && dyn_cast_or_null<CompoundStmt>(If->getThen()) && in REGISTER_TWEAK() 64 dyn_cast_or_null<CompoundStmt>(If->getElse()); in REGISTER_TWEAK()
|
D | PopulateSwitch.cpp | 76 const CompoundStmt *Body = nullptr; 98 if (isa<CompoundStmt>(CAStmt)) { in REGISTER_TWEAK() 113 Body = dyn_cast<CompoundStmt>(Switch->getBody()); in REGISTER_TWEAK()
|
/external/clang/lib/ARCMigrate/ |
D | TransEmptyStatementsAndDealloc.cpp | 89 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt() 156 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr() 157 for (CompoundStmt::body_iterator in TraverseStmtExpr() 166 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt() 186 static bool isBodyEmpty(CompoundStmt *body, ASTContext &Ctx, in isBodyEmpty()
|
/external/clang/include/clang/AST/ |
D | StmtCXX.h | 96 CompoundStmt *getTryBlock() { in getTryBlock() 97 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock() 99 const CompoundStmt *getTryBlock() const { in getTryBlock() 100 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock() 254 CompoundStmt *SubStmt) in MSDependentExistsStmt() 280 CompoundStmt *getSubStmt() const { in getSubStmt() 281 return reinterpret_cast<CompoundStmt *>(SubStmt); in getSubStmt()
|
/external/llvm-project/clang/test/AST/ |
D | ast-dump-stmt.m | 39 // CHECK-NEXT: CompoundStmt 42 // CHECK-NEXT: CompoundStmt 44 // CHECK-NEXT: CompoundStmt
|
D | pragma-attribute-objc-subject-match-rules.m | 64 // CHECK-OBJC_METHOD-NEXT: CompoundStmt 69 // CHECK-OBJC_METHOD-NEXT: CompoundStmt 74 // CHECK-OBJC_METHOD_IS_INSTANCE-NEXT: CompoundStmt 103 // CHECK-BLOCK-NEXT: CompoundStmt 107 // CHECK-HAS_TYPE_FUNCTION_TYPE-NEXT: CompoundStmt
|
/external/llvm-project/clang/unittests/Tooling/ |
D | ASTSelectionTest.cpp | 208 const auto &Body = checkNode<CompoundStmt>( in TEST() 230 const auto &Body = checkNode<CompoundStmt>( in TEST() 246 const auto &Body = checkNode<CompoundStmt>( in TEST() 264 const auto &Body = checkNode<CompoundStmt>( in TEST() 316 const auto &Body = checkNode<CompoundStmt>( in TEST() 337 const auto &Body = checkNode<CompoundStmt>( in TEST() 359 const auto &Body = checkNode<CompoundStmt>( in TEST() 546 return checkNode<CompoundStmt>(Fn.Children[0], in checkFnBody() 733 EXPECT_TRUE(isa<CompoundStmt>(Parents[2].get().Node.get<Stmt>())); in TEST() 754 EXPECT_TRUE(isa<CompoundStmt>(Parents[2].get().Node.get<Stmt>())); in TEST() [all …]
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | ByteCodeStmtGen.cpp | 116 return visitCompoundStmt(cast<CompoundStmt>(S)); in visitStmt() 135 const CompoundStmt *CompoundStmt) { in visitCompoundStmt() argument 137 for (auto *InnerStmt : CompoundStmt->body()) in visitCompoundStmt()
|
/external/llvm-project/clang/include/clang/AST/ |
D | StmtCXX.h | 99 CompoundStmt *getTryBlock() { in getTryBlock() 100 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock() 102 const CompoundStmt *getTryBlock() const { in getTryBlock() 103 return cast<CompoundStmt>(getStmts()[0]); in getTryBlock() 266 CompoundStmt *SubStmt) in MSDependentExistsStmt() 292 CompoundStmt *getSubStmt() const { in getSubStmt() 293 return reinterpret_cast<CompoundStmt *>(SubStmt); in getSubStmt()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ASTStructExtractor.cpp | 55 CompoundStmt *body_compound_stmt = dyn_cast<CompoundStmt>(body_stmt); in ExtractFromFunctionDecl() 64 for (CompoundStmt::const_body_iterator bi = body_compound_stmt->body_begin(), in ExtractFromFunctionDecl()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
D | UncountedLocalVarsChecker.cpp | 81 const CompoundStmt *guardiansClosestCompStmtAncestor = nullptr; in isGuardedScopeEmbeddedInGuardianScope() 92 if (auto *CStmtParentAncestor = guardianAncestor.get<CompoundStmt>()) { in isGuardedScopeEmbeddedInGuardianScope() 114 if (auto *CStmtAncestor = guardedVarAncestor.get<CompoundStmt>()) { in isGuardedScopeEmbeddedInGuardianScope()
|