Home
last modified time | relevance | path

Searched refs:CompoundStmt (Results 1 – 25 of 70) 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.m177 // CHECK: Punctuation: "{" [6:28 - 6:29] CompoundStmt=
180 // CHECK: Punctuation: ";" [7:11 - 7:12] CompoundStmt=
189 // CHECK: Punctuation: ";" [8:21 - 8:22] CompoundStmt=
190 // CHECK: Punctuation: "}" [9:1 - 9:2] CompoundStmt=
221 // CHECK: Punctuation: "{" [23:1 - 23:2] CompoundStmt=
227 // CHECK: Punctuation: "}" [25:1 - 25:2] CompoundStmt=
278 // CHECK: Punctuation: "{" [39:1 - 39:2] CompoundStmt=
282 // CHECK: Punctuation: ";" [40:20 - 40:21] CompoundStmt=
289 // CHECK: Punctuation: ";" [41:17 - 41:18] CompoundStmt=
290 // 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.m159 // CHECK-source: usrs.m:3:43: CompoundStmt= Extent=[3:43 - 3:60]
193 // CHECK-source: usrs.m:35:17: CompoundStmt= Extent=[35:17 - 39:2]
204 // CHECK-source: usrs.m:40:17: CompoundStmt= Extent=[40:17 - 43:2]
214 // CHECK-source: usrs.m:49:30: CompoundStmt= Extent=[49:30 - 49:43]
235 // CHECK-source: usrs.m:64:14: CompoundStmt= Extent=[64:14 - 64:27]
241 // CHECK-source: usrs.m:65:14: CompoundStmt= Extent=[65:14 - 65:27]
247 // CHECK-source: usrs.m:66:14: CompoundStmt= Extent=[66:14 - 66:27]
255 // CHECK-source: usrs.m:69:14: CompoundStmt= Extent=[69:14 - 69:27]
264 // 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/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp89 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
92 for (CompoundStmt::body_iterator in VisitCompoundStmt()
159 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
160 for (CompoundStmt::body_iterator in TraverseStmtExpr()
169 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
170 for (CompoundStmt::body_iterator in VisitCompoundStmt()
190 static bool isBodyEmpty(CompoundStmt *body, ASTContext &Ctx, in isBodyEmpty()
192 for (CompoundStmt::body_iterator in isBodyEmpty()
DTransforms.cpp250 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
251 for (CompoundStmt::body_iterator in TraverseStmtExpr()
260 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
261 for (CompoundStmt::body_iterator in VisitCompoundStmt()
DTransAutoreleasePool.cpp164 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
227 CompoundStmt *CompoundParent;
296 void handlePoolScope(PoolScope &scope, CompoundStmt *compoundS) { in handlePoolScope()
DTransRetainReleaseDealloc.cpp364 CompoundStmt *CompS = dyn_cast_or_null<CompoundStmt>(*StmtExprChild); in checkForGCDOrXPC()
/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.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.h131 friend class CompoundStmt; variable
548 class CompoundStmt : public Stmt {
552 CompoundStmt(ASTContext &C, ArrayRef<Stmt*> Stmts,
556 explicit CompoundStmt(SourceLocation Loc) in CompoundStmt() function
562 explicit CompoundStmt(EmptyShell Empty) in CompoundStmt() function
1787 CompoundStmt *getBlock() const { in getBlock()
1788 return cast<CompoundStmt>(Children[BLOCK]); in getBlock()
1823 CompoundStmt *getBlock() const { return cast<CompoundStmt>(Block); } in getBlock()
1866 CompoundStmt* getTryBlock() const { in getTryBlock()
1867 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/AST/
DStmtPrinter.cpp65 void PrintRawCompoundStmt(CompoundStmt *S);
114 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) { in PrintRawCompoundStmt()
116 for (CompoundStmt::body_iterator I = Node->body_begin(), E = Node->body_end(); in PrintRawCompoundStmt()
146 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) { in VisitCompoundStmt()
199 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(If->getThen())) { in PrintRawIfStmt()
212 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Else)) { in PrintRawIfStmt()
240 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitSwitchStmt()
262 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitDoStmt()
296 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitForStmt()
315 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitObjCForCollectionStmt()
[all …]
/external/clang/lib/Analysis/
DBodyFarm.cpp58 CompoundStmt *makeCompound(ArrayRef<Stmt*>);
105 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { in makeCompound()
106 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation()); in makeCompound()
217 CompoundStmt *CS = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2)); in create_dispatch_once()
328 CompoundStmt *Body = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2)); in create_OSAtomicCompareAndSwap()
DCFG.cpp357 CFGBlock *VisitCompoundStmt(CompoundStmt *C);
926 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) { in addLocalScopeForStmt()
927 for (CompoundStmt::body_iterator BI = CS->body_begin(), BE = CS->body_end() in addLocalScopeForStmt()
1073 return VisitCompoundStmt(cast<CompoundStmt>(S)); in Visit()
1514 CFGBlock *CFGBuilder::VisitCompoundStmt(CompoundStmt *C) { in VisitCompoundStmt()
1518 for (CompoundStmt::reverse_body_iterator I=C->body_rbegin(), E=C->body_rend(); in VisitCompoundStmt()
1746 if (!isa<CompoundStmt>(Else)) in VisitIfStmt()
1769 if (!isa<CompoundStmt>(Then)) in VisitIfStmt()
1989 if (!isa<CompoundStmt>(F->getBody())) in VisitForStmt()
2303 if (!isa<CompoundStmt>(W->getBody())) in VisitWhileStmt()
[all …]
/external/clang/include/clang/Analysis/Visitors/
DCFGRecStmtVisitor.h29 void VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
DCFGStmtVisitor.h151 CompoundStmt *CS = cast<StmtExpr>(S)->getSubStmt(); in VisitChildren()
/external/clang/docs/
DClangCheck.rst27 (CompoundStmt 0x7ff3a302aa10 <line:1:10, line:3:1>
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp526 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) in createEnd()
545 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS, in createBeginBrace()
552 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS, in createEndBrace()
562 if (const CompoundStmt *CS = in createDeclBegin()
563 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody())) in createDeclBegin()
/external/clang/lib/CodeGen/
DCGStmt.cpp175 case Stmt::CompoundStmtClass: EmitCompoundStmt(cast<CompoundStmt>(*S)); break; in EmitSimpleStmt()
193 RValue CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, in EmitCompoundStmt()
204 RValue CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S, bool GetLast, in EmitCompoundStmtWithoutScope()
207 for (CompoundStmt::const_body_iterator I = S.body_begin(), in EmitCompoundStmtWithoutScope()
1044 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) { in CollectStatementsForCase()
1047 CompoundStmt::const_body_iterator I = CS->body_begin(), E = CS->body_end(); in CollectStatementsForCase()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h32 class CompoundStmt; variable
221 static PathDiagnosticLocation createBeginBrace(const CompoundStmt *CS,
226 static PathDiagnosticLocation createEndBrace(const CompoundStmt *CS,

123