Home
last modified time | relevance | path

Searched refs:CompoundStmt (Results 1 – 25 of 57) 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.m160 // CHECK-source: usrs.m:3:43: CompoundStmt= Extent=[3:43 - 3:60]
194 // CHECK-source: usrs.m:35:17: CompoundStmt= Extent=[35:17 - 39:2]
205 // CHECK-source: usrs.m:40:17: CompoundStmt= Extent=[40:17 - 43:2]
216 // CHECK-source: usrs.m:49:30: CompoundStmt= Extent=[49:30 - 49:43]
237 // CHECK-source: usrs.m:64:14: CompoundStmt= Extent=[64:14 - 64:27]
243 // CHECK-source: usrs.m:65:14: CompoundStmt= Extent=[65:14 - 65:27]
249 // CHECK-source: usrs.m:66:14: CompoundStmt= Extent=[66:14 - 66:27]
257 // CHECK-source: usrs.m:69:14: CompoundStmt= Extent=[69:14 - 69:27]
266 // CHECK-source: usrs.m:73:34: CompoundStmt= Extent=[73:34 - 77:2]
DTestClassDecl.m28 // CHECK-scan: [14:1 - 16:2] CompoundStmt=
Dannotate-literals.m71 // CHECK-LITERALS: Punctuation: "}" [37:1 - 37:2] CompoundStmt=
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp88 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
91 for (CompoundStmt::body_iterator in VisitCompoundStmt()
158 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
159 for (CompoundStmt::body_iterator in TraverseStmtExpr()
168 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
169 for (CompoundStmt::body_iterator in VisitCompoundStmt()
189 static bool isBodyEmpty(CompoundStmt *body, ASTContext &Ctx, in isBodyEmpty()
191 for (CompoundStmt::body_iterator in isBodyEmpty()
DTransforms.cpp189 CompoundStmt *S = E->getSubStmt(); in TraverseStmtExpr()
190 for (CompoundStmt::body_iterator in TraverseStmtExpr()
199 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
200 for (CompoundStmt::body_iterator in VisitCompoundStmt()
DTransAutoreleasePool.cpp163 bool VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
226 CompoundStmt *CompoundParent;
295 void handlePoolScope(PoolScope &scope, CompoundStmt *compoundS) { in handlePoolScope()
DTransRetainReleaseDealloc.cpp202 CompoundStmt *CompS = dyn_cast_or_null<CompoundStmt>(*StmtExprChild); in checkForGCDOrXPC()
/external/clang/include/clang/AST/
DStmtCXX.h96 CompoundStmt *getTryBlock() { in getTryBlock()
97 return llvm::cast<CompoundStmt>(getStmts()[0]); in getTryBlock()
99 const CompoundStmt *getTryBlock() const { in getTryBlock()
100 return llvm::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.h127 friend class CompoundStmt; variable
544 class CompoundStmt : public Stmt {
548 CompoundStmt(ASTContext& C, Stmt **StmtStart, unsigned NumStmts, in CompoundStmt() function
565 explicit CompoundStmt(EmptyShell Empty) in CompoundStmt() function
621 static bool classof(const CompoundStmt *) { return true; } in classof() argument
1639 CompoundStmt *getBlock() const { in getBlock()
1640 return llvm::cast<CompoundStmt>(Children[BLOCK]); in getBlock()
1678 CompoundStmt *getBlock() const { return llvm::cast<CompoundStmt>(Block); } in getBlock()
1724 CompoundStmt* getTryBlock() const { in getTryBlock()
1725 return llvm::cast<CompoundStmt>(Children[TRY]); in getTryBlock()
/external/clang/lib/AST/
DStmtPrinter.cpp63 void PrintRawCompoundStmt(CompoundStmt *S);
112 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) { in PrintRawCompoundStmt()
114 for (CompoundStmt::body_iterator I = Node->body_begin(), E = Node->body_end(); in PrintRawCompoundStmt()
144 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) { in VisitCompoundStmt()
194 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(If->getThen())) { in PrintRawIfStmt()
207 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Else)) { in PrintRawIfStmt()
232 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitSwitchStmt()
251 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitDoStmt()
285 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitForStmt()
304 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) { in VisitObjCForCollectionStmt()
[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/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp296 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS, in createBeginBrace()
303 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS, in createEndBrace()
313 if (const CompoundStmt *CS = in createDeclBegin()
314 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody())) in createDeclBegin()
/external/clang/lib/Analysis/
DCFG.cpp331 CFGBlock *VisitCompoundStmt(CompoundStmt *C);
861 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) { in addLocalScopeForStmt()
862 for (CompoundStmt::body_iterator BI = CS->body_begin(), BE = CS->body_end() in addLocalScopeForStmt()
1008 return VisitCompoundStmt(cast<CompoundStmt>(S)); in Visit()
1383 CFGBlock *CFGBuilder::VisitCompoundStmt(CompoundStmt *C) { in VisitCompoundStmt()
1387 for (CompoundStmt::reverse_body_iterator I=C->body_rbegin(), E=C->body_rend(); in VisitCompoundStmt()
1608 if (!isa<CompoundStmt>(Else)) in VisitIfStmt()
1631 if (!isa<CompoundStmt>(Then)) in VisitIfStmt()
1885 if (!isa<CompoundStmt>(F->getBody())) in VisitForStmt()
2184 if (!isa<CompoundStmt>(W->getBody())) in VisitWhileStmt()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h32 class CompoundStmt; variable
178 static PathDiagnosticLocation createBeginBrace(const CompoundStmt *CS,
183 static PathDiagnosticLocation createEndBrace(const CompoundStmt *CS,
/external/clang/lib/CodeGen/
DCGStmt.cpp174 case Stmt::CompoundStmtClass: EmitCompoundStmt(cast<CompoundStmt>(*S)); break; in EmitSimpleStmt()
192 RValue CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, in EmitCompoundStmt()
200 for (CompoundStmt::const_body_iterator I = S.body_begin(), in EmitCompoundStmt()
1009 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) { in CollectStatementsForCase()
1012 CompoundStmt::const_body_iterator I = CS->body_begin(), E = CS->body_end(); in CollectStatementsForCase()
/external/clang/lib/Sema/
DSemaLambda.cpp662 CompoundStmt *CompoundBody = cast<CompoundStmt>(Body); in ActOnLambdaExpr()
810 Block->setBody(new (Context) CompoundStmt(Context, 0, 0, in BuildBlockForLambdaConversion()
DAnalysisBasedWarnings.cpp351 if (const CompoundStmt *Compound = dyn_cast<CompoundStmt>(Body)) { in CheckFallThroughForBody()
/external/v8/tools/gcmole/
Dgcmole.cc888 VISIT(CompoundStmt); in VisitStmt()
1014 DECL_VISIT_STMT(CompoundStmt) { in DECL_VISIT_STMT() argument
1016 clang::CompoundStmt::body_iterator end = stmt->body_end(); in DECL_VISIT_STMT()
1017 for (clang::CompoundStmt::body_iterator s = stmt->body_begin(); in DECL_VISIT_STMT()
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp76 void VisitCompoundStmt (CompoundStmt *S);
159 void WalkAST::VisitCompoundStmt(CompoundStmt *S) { in VisitCompoundStmt()
/external/clang/include/clang/Basic/
DStmtNodes.td13 def CompoundStmt : Stmt;

123