Home
last modified time | relevance | path

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

1234

/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.m188 // CHECK: Punctuation: "{" [6:28 - 6:29] CompoundStmt=
191 // CHECK: Punctuation: ";" [7:11 - 7:12] CompoundStmt=
200 // CHECK: Punctuation: ";" [8:21 - 8:22] CompoundStmt=
201 // CHECK: Punctuation: "}" [9:1 - 9:2] CompoundStmt=
232 // CHECK: Punctuation: "{" [23:1 - 23:2] CompoundStmt=
238 // CHECK: Punctuation: "}" [25:1 - 25:2] CompoundStmt=
289 // CHECK: Punctuation: "{" [39:1 - 39:2] CompoundStmt=
293 // CHECK: Punctuation: ";" [40:20 - 40:21] CompoundStmt=
300 // CHECK: Punctuation: ";" [41:17 - 41:18] CompoundStmt=
301 // 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.m71 // CHECK-LITERALS: Punctuation: "}" [37:1 - 37:2] 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()
248 CompoundStmt *SubStmt) in MSDependentExistsStmt()
274 CompoundStmt *getSubStmt() const { in getSubStmt()
275 return reinterpret_cast<CompoundStmt *>(SubStmt); in getSubStmt()
DStmtObjC.h281 const CompoundStmt *getSynchBody() const { in getSynchBody()
282 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()
284 CompoundStmt *getSynchBody() { in getSynchBody()
285 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()
DStmt.h135 friend class CompoundStmt; variable
549 class CompoundStmt : public Stmt {
553 CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts,
557 explicit CompoundStmt(SourceLocation Loc) in CompoundStmt() function
563 explicit CompoundStmt(EmptyShell Empty) in CompoundStmt() function
1843 CompoundStmt *getBlock() const { in getBlock()
1844 return cast<CompoundStmt>(Children[BLOCK]); in getBlock()
1879 CompoundStmt *getBlock() const { return cast<CompoundStmt>(Block); } in getBlock()
1920 CompoundStmt* getTryBlock() const { in getTryBlock()
1921 return cast<CompoundStmt>(Children[TRY]); in getTryBlock()
/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/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp144 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt1)) { in VisitIfStmt()
148 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt2)) { in VisitIfStmt()
412 const CompoundStmt *CompStmt1 = cast<CompoundStmt>(Stmt1); in isIdenticalStmt()
413 const CompoundStmt *CompStmt2 = cast<CompoundStmt>(Stmt2); in isIdenticalStmt()
418 CompoundStmt::const_body_iterator I1 = CompStmt1->body_begin(); in isIdenticalStmt()
419 CompoundStmt::const_body_iterator I2 = CompStmt2->body_begin(); in isIdenticalStmt()
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp89 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
158 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
159 for (CompoundStmt::body_iterator in TraverseStmtExpr()
168 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
188 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.cpp256 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
257 for (CompoundStmt::body_iterator in TraverseStmtExpr()
266 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
DTransRetainReleaseDealloc.cpp364 CompoundStmt *CompS = dyn_cast_or_null<CompoundStmt>(*StmtExprChild); in checkForGCDOrXPC()
/external/lldb/source/Expression/
DASTResultSynthesizer.cpp155 CompoundStmt *compound_stmt = dyn_cast<CompoundStmt>(function_body); in SynthesizeFunctionResult()
203 CompoundStmt *compound_stmt = dyn_cast<CompoundStmt>(method_body); in SynthesizeObjCMethodResult()
224 ASTResultSynthesizer::SynthesizeBodyResult (CompoundStmt *Body, in SynthesizeBodyResult()
DASTStructExtractor.cpp66 CompoundStmt *body_compound_stmt = dyn_cast<CompoundStmt>(body_stmt); in ExtractFromFunctionDecl()
75 …for (CompoundStmt::const_body_iterator bi = body_compound_stmt->body_begin(), be = body_compound_s… in ExtractFromFunctionDecl()
/external/clang/lib/AST/
DStmtPrinter.cpp65 void PrintRawCompoundStmt(CompoundStmt *S);
115 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) { in PrintRawCompoundStmt()
142 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) { in VisitCompoundStmt()
186 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(If->getThen())) { in PrintRawIfStmt()
199 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Else)) { in PrintRawIfStmt()
227 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitSwitchStmt()
249 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitDoStmt()
283 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitForStmt()
302 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitObjCForCollectionStmt()
453 if (CompoundStmt *TS = dyn_cast<CompoundStmt>(Node->getTryBody())) { in VisitObjCAtTryStmt()
[all …]
/external/clang/lib/Analysis/
DBodyFarm.cpp57 CompoundStmt *makeCompound(ArrayRef<Stmt*>);
107 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { in makeCompound()
108 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation()); in makeCompound()
229 CompoundStmt *CS = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2)); in create_dispatch_once()
340 CompoundStmt *Body = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2)); in create_OSAtomicCompareAndSwap()
/external/lldb/include/lldb/Expression/
DASTResultSynthesizer.h153 bool SynthesizeBodyResult(clang::CompoundStmt *Body,
/external/clang/docs/
DClangCheck.rst27 (CompoundStmt 0x7ff3a302aa10 <line:1:10, line:3:1>
/external/lldb/include/lldb/Core/
DClangForward.h39 class CompoundStmt; variable
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp600 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) in createEnd()
627 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS, in createBeginBrace()
634 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS, in createEndBrace()
644 if (const CompoundStmt *CS = in createDeclBegin()
645 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody())) in createDeclBegin()

1234