Home
last modified time | relevance | path

Searched refs:CompoundStmt (Results 1 – 25 of 71) sorted by relevance

123

/external/clang/test/Index/
Dc-index-getCursor-test.m114 // 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=
Dannotate-tokens.m189 // 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 …]
Dannotate-subscripting.m45 // 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=
Dusrs.m183 // CHECK-source: usrs.m:3:43: CompoundStmt= Extent=[3:43 - 3:60]
217 // CHECK-source: usrs.m:35:17: CompoundStmt= Extent=[35:17 - 39:2]
228 // CHECK-source: usrs.m:40:17: CompoundStmt= Extent=[40:17 - 43:2]
238 // CHECK-source: usrs.m:49:30: CompoundStmt= Extent=[49:30 - 49:43]
259 // CHECK-source: usrs.m:64:14: CompoundStmt= Extent=[64:14 - 64:27]
265 // CHECK-source: usrs.m:65:14: CompoundStmt= Extent=[65:14 - 65:27]
271 // CHECK-source: usrs.m:66:14: CompoundStmt= Extent=[66:14 - 66:27]
279 // CHECK-source: usrs.m:69:14: CompoundStmt= Extent=[69:14 - 69:27]
288 // CHECK-source: usrs.m:73:34: CompoundStmt= Extent=[73:34 - 77:2]
DTestClassDecl.m28 // CHECK-scan: [14:1 - 16:2] CompoundStmt=
Darc-annotate.m52 // CHECK: Punctuation: ";" [9:11 - 9:12] CompoundStmt=
Dannotate-literals.m88 // CHECK-LITERALS: Punctuation: "}" [46:1 - 46:2] CompoundStmt=
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp116 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()
431 const CompoundStmt *CompStmt1 = cast<CompoundStmt>(Stmt1); in isIdenticalStmt()
432 const CompoundStmt *CompStmt2 = cast<CompoundStmt>(Stmt2); in isIdenticalStmt()
437 CompoundStmt::const_body_iterator I1 = CompStmt1->body_begin(); in isIdenticalStmt()
438 CompoundStmt::const_body_iterator I2 = CompStmt2->body_begin(); in isIdenticalStmt()
/external/clang/test/Misc/
Dast-dump-stmt.m30 // CHECK-NEXT: CompoundStmt
33 // CHECK-NEXT: CompoundStmt
35 // CHECK-NEXT: CompoundStmt
Dast-dump-decl.m45 // CHECK-NEXT: CompoundStmt
136 // CHECK-NEXT: CompoundStmt
/external/clang/include/clang/AST/
DStmtCXX.h96 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()
249 CompoundStmt *SubStmt) in MSDependentExistsStmt()
275 CompoundStmt *getSubStmt() const { in getSubStmt()
276 return reinterpret_cast<CompoundStmt *>(SubStmt); in getSubStmt()
DStmtObjC.h282 const CompoundStmt *getSynchBody() const { in getSynchBody()
283 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()
285 CompoundStmt *getSynchBody() { in getSynchBody()
286 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()
DStmt.h90 friend class CompoundStmt; in LLVM_ALIGNAS() local
539 class CompoundStmt : public Stmt {
546 CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts,
550 explicit CompoundStmt(SourceLocation Loc) in CompoundStmt() function
556 explicit CompoundStmt(EmptyShell Empty) in CompoundStmt() function
1852 CompoundStmt *getBlock() const { in getBlock()
1853 return cast<CompoundStmt>(Children[BLOCK]); in getBlock()
1888 CompoundStmt *getBlock() const { return cast<CompoundStmt>(Block); } in getBlock()
1929 CompoundStmt* getTryBlock() const { in getTryBlock()
1930 return cast<CompoundStmt>(Children[TRY]); in getTryBlock()
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp89 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()
DTransAutoreleasePool.cpp164 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
227 CompoundStmt *CompoundParent;
296 void handlePoolScope(PoolScope &scope, CompoundStmt *compoundS) { in handlePoolScope()
DTransforms.cpp252 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
253 for (CompoundStmt::body_iterator in TraverseStmtExpr()
262 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
/external/clang/lib/AST/
DStmtPrinter.cpp66 void PrintRawCompoundStmt(CompoundStmt *S);
116 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) { in PrintRawCompoundStmt()
143 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) { in VisitCompoundStmt()
187 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(If->getThen())) { in PrintRawIfStmt()
200 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Else)) { in PrintRawIfStmt()
228 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitSwitchStmt()
250 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitDoStmt()
284 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitForStmt()
303 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitObjCForCollectionStmt()
456 if (CompoundStmt *TS = dyn_cast<CompoundStmt>(Node->getTryBody())) { in VisitObjCAtTryStmt()
[all …]
DStmt.cpp124 else if (auto CS = dyn_cast_or_null<CompoundStmt>(S)) { in IgnoreContainers()
282 CompoundStmt::CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, in CompoundStmt() function in CompoundStmt
298 void CompoundStmt::setStmts(const ASTContext &C, ArrayRef<Stmt *> Stmts) { in setStmts()
/external/clang/lib/Analysis/
DBodyFarm.cpp55 CompoundStmt *makeCompound(ArrayRef<Stmt*>);
105 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { in makeCompound()
106 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation()); in makeCompound()
225 CompoundStmt *CS = M.makeCompound(Stmts); in create_dispatch_once()
336 CompoundStmt *Body = M.makeCompound(Stmts); in create_OSAtomicCompareAndSwap()
DCFG.cpp435 CFGBlock *VisitCompoundStmt(CompoundStmt *C);
1315 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) { in addLocalScopeForStmt()
1472 return VisitCompoundStmt(cast<CompoundStmt>(S)); in Visit()
1942 CFGBlock *CFGBuilder::VisitCompoundStmt(CompoundStmt *C) { in VisitCompoundStmt()
1954 for (CompoundStmt::reverse_body_iterator I=C->body_rbegin(), E=C->body_rend(); in VisitCompoundStmt()
2199 if (!isa<CompoundStmt>(Else)) in VisitIfStmt()
2222 if (!isa<CompoundStmt>(Then)) in VisitIfStmt()
2455 if (!isa<CompoundStmt>(F->getBody())) in VisitForStmt()
2777 if (!isa<CompoundStmt>(W->getBody())) in VisitWhileStmt()
2959 if (!isa<CompoundStmt>(D->getBody())) in VisitDoStmt()
[all …]
/external/clang/docs/
DClangCheck.rst27 (CompoundStmt 0x7ff3a302aa10 <line:1:10, line:3:1>
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp601 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) in createEnd()
628 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS, in createBeginBrace()
635 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS, in createEndBrace()
645 if (const CompoundStmt *CS = in createDeclBegin()
646 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody())) in createDeclBegin()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h33 class CompoundStmt; variable
232 static PathDiagnosticLocation createBeginBrace(const CompoundStmt *CS,
237 static PathDiagnosticLocation createEndBrace(const CompoundStmt *CS,
/external/clang/lib/CodeGen/
DCGStmt.cpp275 case Stmt::CompoundStmtClass: EmitCompoundStmt(cast<CompoundStmt>(*S)); break; in EmitSimpleStmt()
294 Address CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, in EmitCompoundStmt()
306 CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S, in EmitCompoundStmtWithoutScope()
310 for (CompoundStmt::const_body_iterator I = S.body_begin(), in EmitCompoundStmtWithoutScope()
1273 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) { in CollectStatementsForCase()
1276 CompoundStmt::const_body_iterator I = CS->body_begin(), E = CS->body_end(); in CollectStatementsForCase()
/external/v8/tools/gcmole/
Dgcmole.cc869 VISIT(CompoundStmt); in VisitStmt()
995 DECL_VISIT_STMT(CompoundStmt) { in DECL_VISIT_STMT() argument
997 clang::CompoundStmt::body_iterator end = stmt->body_end(); in DECL_VISIT_STMT()
998 for (clang::CompoundStmt::body_iterator s = stmt->body_begin(); in DECL_VISIT_STMT()

123