Home
last modified time | relevance | path

Searched refs:CompoundStmt (Results 1 – 25 of 74) 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()
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/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()
254 CompoundStmt *SubStmt) in MSDependentExistsStmt()
280 CompoundStmt *getSubStmt() const { in getSubStmt()
281 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
551 class CompoundStmt : public Stmt {
558 CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts,
562 explicit CompoundStmt(SourceLocation Loc) in CompoundStmt() function
568 explicit CompoundStmt(EmptyShell Empty) in CompoundStmt() function
1874 CompoundStmt *getBlock() const { in getBlock()
1875 return cast<CompoundStmt>(Children[BLOCK]); in getBlock()
1910 CompoundStmt *getBlock() const { return cast<CompoundStmt>(Block); } in getBlock()
1951 CompoundStmt* getTryBlock() const { in getTryBlock()
1952 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.cpp67 void PrintRawCompoundStmt(CompoundStmt *S);
117 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) { in PrintRawCompoundStmt()
144 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) { in VisitCompoundStmt()
188 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(If->getThen())) { in PrintRawIfStmt()
201 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Else)) { in PrintRawIfStmt()
229 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()
457 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()
337 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()
1955 for (CompoundStmt::reverse_body_iterator I=C->body_rbegin(), E=C->body_rend(); in VisitCompoundStmt()
2207 if (!isa<CompoundStmt>(Else)) in VisitIfStmt()
2230 if (!isa<CompoundStmt>(Then)) in VisitIfStmt()
2469 if (!isa<CompoundStmt>(F->getBody())) in VisitForStmt()
2791 if (!isa<CompoundStmt>(W->getBody())) in VisitWhileStmt()
2973 if (!isa<CompoundStmt>(D->getBody())) in VisitDoStmt()
[all …]
/external/clang/test/SemaObjCXX/
Dblock-cleanup.mm4 // CHECK-NEXT: -CompoundStmt
/external/clang/docs/
DClangCheck.rst27 (CompoundStmt 0x7ff3a302aa10 <line:1:10, line:3:1>
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp597 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) in createEnd()
624 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS, in createBeginBrace()
631 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS, in createEndBrace()
641 if (const CompoundStmt *CS = in createDeclBegin()
642 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.cpp305 case Stmt::CompoundStmtClass: EmitCompoundStmt(cast<CompoundStmt>(*S)); break; in EmitSimpleStmt()
324 Address CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, in EmitCompoundStmt()
336 CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S, in EmitCompoundStmtWithoutScope()
340 for (CompoundStmt::const_body_iterator I = S.body_begin(), in EmitCompoundStmtWithoutScope()
1326 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) { in CollectStatementsForCase()
1329 CompoundStmt::const_body_iterator I = CS->body_begin(), E = CS->body_end(); in CollectStatementsForCase()

123