Searched refs:CompoundStmt (Results 1 - 25 of 54) sorted by relevance

123

/external/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp89 bool VisitCompoundStmt(CompoundStmt *S) {
92 for (CompoundStmt::body_iterator
159 CompoundStmt *S = E->getSubStmt();
160 for (CompoundStmt::body_iterator
169 bool VisitCompoundStmt(CompoundStmt *S) {
170 for (CompoundStmt::body_iterator
190 static bool isBodyEmpty(CompoundStmt *body, ASTContext &Ctx,
192 for (CompoundStmt::body_iterator
H A DTransAutoreleasePool.cpp164 bool VisitCompoundStmt(CompoundStmt *S) {
227 CompoundStmt *CompoundParent;
296 void handlePoolScope(PoolScope &scope, CompoundStmt *compoundS) {
H A DTransforms.cpp250 CompoundStmt *S = E->getSubStmt();
251 for (CompoundStmt::body_iterator
260 bool VisitCompoundStmt(CompoundStmt *S) {
261 for (CompoundStmt::body_iterator
H A DTransRetainReleaseDealloc.cpp364 CompoundStmt *CompS = dyn_cast_or_null<CompoundStmt>(*StmtExprChild);
/external/clang/include/clang/AST/
H A DStmtCXX.h96 CompoundStmt *getTryBlock() {
97 return cast<CompoundStmt>(getStmts()[0]);
99 const CompoundStmt *getTryBlock() const {
100 return cast<CompoundStmt>(getStmts()[0]);
248 CompoundStmt *SubStmt)
274 CompoundStmt *getSubStmt() const {
275 return reinterpret_cast<CompoundStmt *>(SubStmt);
H A DStmtObjC.h282 const CompoundStmt *getSynchBody() const {
283 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]);
285 CompoundStmt *getSynchBody() {
286 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]);
H A DStmt.h135 friend class CompoundStmt;
437 /// expressions. For example, CompoundStmt mixes statements, expressions
539 /// CompoundStmt - This represents a group of statements like { stmt stmt }.
541 class CompoundStmt : public Stmt { class in namespace:clang
545 CompoundStmt(ASTContext &C, ArrayRef<Stmt*> Stmts,
549 explicit CompoundStmt(SourceLocation Loc) function in class:clang::CompoundStmt
555 explicit CompoundStmt(EmptyShell Empty) function in class:clang::CompoundStmt
1804 CompoundStmt *getBlock() const {
1805 return cast<CompoundStmt>(Children[BLOCK]);
1840 CompoundStmt *getBloc
[all...]
H A DDecl.h32 class CompoundStmt;
3183 CompoundStmt *getCompoundBody() const { return (CompoundStmt*) Body; }
3185 void setBody(CompoundStmt *B) { Body = (Stmt*) B; }
H A DExpr.h3355 /// The StmtExpr contains a single CompoundStmt node, which it evaluates and
3367 StmtExpr(CompoundStmt *substmt, QualType T,
3376 CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); }
3377 const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); }
3378 void setSubStmt(CompoundStmt *S) { SubStmt = S; }
/external/clang/lib/AST/
H A DStmtPrinter.cpp65 void PrintRawCompoundStmt(CompoundStmt *S);
114 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) {
116 for (CompoundStmt::body_iterator I = Node->body_begin(), E = Node->body_end();
146 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) {
199 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(If->getThen())) {
212 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Else)) {
240 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Nod
[all...]
H A DStmt.cpp256 CompoundStmt::CompoundStmt(ASTContext &C, ArrayRef<Stmt*> Stmts, function in class:CompoundStmt
272 void CompoundStmt::setStmts(ASTContext &C, Stmt **Stmts, unsigned NumStmts) {
H A DExprClassification.cpp369 const CompoundStmt *S = cast<StmtExpr>(E)->getSubStmt();
/external/clang/lib/Analysis/
H A DBodyFarm.cpp58 CompoundStmt *makeCompound(ArrayRef<Stmt*>);
105 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) {
106 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation());
217 CompoundStmt *CS = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2));
328 CompoundStmt *Body = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2));
H A DCFG.cpp82 /// - Before processing statements in scope (e.g. CompoundStmt) create
357 CFGBlock *VisitCompoundStmt(CompoundStmt *C);
926 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) {
927 for (CompoundStmt::body_iterator BI = CS->body_begin(), BE = CS->body_end()
1086 return VisitCompoundStmt(cast<CompoundStmt>(S));
1532 CFGBlock *CFGBuilder::VisitCompoundStmt(CompoundStmt *C) {
1536 for (CompoundStmt::reverse_body_iterator I=C->body_rbegin(), E=C->body_rend();
1782 if (!isa<CompoundStmt>(Else))
1805 if (!isa<CompoundStmt>(The
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h33 class CompoundStmt;
222 static PathDiagnosticLocation createBeginBrace(const CompoundStmt *CS,
227 static PathDiagnosticLocation createEndBrace(const CompoundStmt *CS,
/external/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp597 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S))
616 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS,
623 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS,
633 if (const CompoundStmt *CS =
634 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody()))
/external/chromium_org/tools/clang/plugins/
H A DFindBadConstructs.cpp283 if (CompoundStmt* cs = dyn_cast<CompoundStmt>(method->getBody())) {
/external/clang/lib/CodeGen/
H A DCGStmt.cpp179 case Stmt::CompoundStmtClass: EmitCompoundStmt(cast<CompoundStmt>(*S)); break;
197 llvm::Value* CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast,
209 CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S,
213 for (CompoundStmt::const_body_iterator I = S.body_begin(),
1088 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) {
1091 CompoundStmt::const_body_iterator I = CS->body_begin(), E = CS->body_end();
H A DCGClass.cpp1323 assert(isa<CompoundStmt>(RootS) &&
1325 const CompoundStmt *RootCS = cast<CompoundStmt>(RootS);
1330 for (CompoundStmt::const_body_iterator I = RootCS->body_begin(),
H A DCodeGenFunction.cpp632 if (const CompoundStmt *S = dyn_cast<CompoundStmt>(FD->getBody()))
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp70 void VisitCompoundStmt (CompoundStmt *S);
153 void WalkAST::VisitCompoundStmt(CompoundStmt *S) {
/external/chromium_org/v8/tools/gcmole/
H A Dgcmole.cc886 VISIT(CompoundStmt);
1012 DECL_VISIT_STMT(CompoundStmt) {
1014 clang::CompoundStmt::body_iterator end = stmt->body_end();
1015 for (clang::CompoundStmt::body_iterator s = stmt->body_begin();
/external/v8/tools/gcmole/
H A Dgcmole.cc888 VISIT(CompoundStmt);
1014 DECL_VISIT_STMT(CompoundStmt) {
1016 clang::CompoundStmt::body_iterator end = stmt->body_end();
1017 for (clang::CompoundStmt::body_iterator s = stmt->body_begin();
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h991 const internal::VariadicDynCastAllOfMatcher<Stmt, CompoundStmt> compoundStmt;
2479 AST_MATCHER_P(CompoundStmt, hasAnySubstatement,
2495 AST_MATCHER_P(CompoundStmt, statementCountIs, unsigned, N) {
/external/clang/lib/Parse/
H A DParseExpr.cpp654 case CompoundStmt: break; // Nothing else to do.
1996 if (ExprType >= CompoundStmt && Tok.is(tok::l_brace)) {
2001 ExprType = CompoundStmt;

Completed in 359 milliseconds

123