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

12

/freebsd-9.3-release/contrib/llvm/tools/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.cpp256 CompoundStmt *S = E->getSubStmt();
257 for (CompoundStmt::body_iterator
266 bool VisitCompoundStmt(CompoundStmt *S) {
267 for (CompoundStmt::body_iterator
H A DTransRetainReleaseDealloc.cpp364 CompoundStmt *CompS = dyn_cast_or_null<CompoundStmt>(*StmtExprChild);
/freebsd-9.3-release/contrib/llvm/tools/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.h281 const CompoundStmt *getSynchBody() const {
282 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]);
284 CompoundStmt *getSynchBody() {
285 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]);
H A DStmt.h135 friend class CompoundStmt;
439 /// expressions. For example, CompoundStmt mixes statements, expressions
541 /// CompoundStmt - This represents a group of statements like { stmt stmt }.
543 class CompoundStmt : public Stmt { class in namespace:clang
547 CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts,
551 explicit CompoundStmt(SourceLocation Loc) function in class:clang::CompoundStmt
557 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;
3253 CompoundStmt *getCompoundBody() const { return (CompoundStmt*) Body; }
3255 void setBody(CompoundStmt *B) { Body = (Stmt*) B; }
H A DExpr.h3361 /// The StmtExpr contains a single CompoundStmt node, which it evaluates and
3373 StmtExpr(CompoundStmt *substmt, QualType T,
3382 CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); }
3383 const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); }
3384 void setSubStmt(CompoundStmt *S) { SubStmt = S; }
H A DDeclObjC.h462 CompoundStmt *getCompoundBody() { return (CompoundStmt*)getBody(); }
/freebsd-9.3-release/contrib/llvm/tools/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.cpp255 CompoundStmt::CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, function in class:CompoundStmt
271 void CompoundStmt::setStmts(const ASTContext &C, Stmt **Stmts,
H A DExprClassification.cpp370 const CompoundStmt *S = cast<StmtExpr>(E)->getSubStmt();
H A DExprCXX.cpp1080 CompoundStmt *LambdaExpr::getBody() const {
1084 return reinterpret_cast<CompoundStmt *>(getStoredStmts()[NumCaptures]);
/freebsd-9.3-release/contrib/llvm/tools/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.cpp83 /// - Before processing statements in scope (e.g. CompoundStmt) create
358 CFGBlock *VisitCompoundStmt(CompoundStmt *C);
932 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) {
933 for (CompoundStmt::body_iterator BI = CS->body_begin(), BE = CS->body_end()
1092 return VisitCompoundStmt(cast<CompoundStmt>(S));
1556 CFGBlock *CFGBuilder::VisitCompoundStmt(CompoundStmt *C) {
1560 for (CompoundStmt::reverse_body_iterator I=C->body_rbegin(), E=C->body_rend();
1806 if (!isa<CompoundStmt>(Else))
1829 if (!isa<CompoundStmt>(The
[all...]
/freebsd-9.3-release/contrib/llvm/tools/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,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp600 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S))
619 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS,
626 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS,
636 if (const CompoundStmt *CS =
637 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody()))
H A DBugReporter.cpp1182 if (isa<CompoundStmt>(Parent))
1501 const CompoundStmt *CS = NULL;
1504 CS = dyn_cast<CompoundStmt>(FS->getBody());
1506 CS = dyn_cast<CompoundStmt>(WS->getBody());
1812 if (const CompoundStmt *CS = dyn_cast_or_null<CompoundStmt>(Body)) {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmt.cpp182 case Stmt::CompoundStmtClass: EmitCompoundStmt(cast<CompoundStmt>(*S)); break;
200 llvm::Value* CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast,
212 CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S,
216 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.cpp1351 assert(isa<CompoundStmt>(RootS) &&
1353 const CompoundStmt *RootCS = cast<CompoundStmt>(RootS);
1358 for (CompoundStmt::const_body_iterator I = RootCS->body_begin(),
H A DCGDecl.cpp1004 const CompoundStmt *CS = SE->getSubStmt();
1005 for (CompoundStmt::const_body_iterator BI = CS->body_begin(),
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp70 void VisitCompoundStmt (CompoundStmt *S);
153 void WalkAST::VisitCompoundStmt(CompoundStmt *S) {
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1001 const internal::VariadicDynCastAllOfMatcher<Stmt, CompoundStmt> compoundStmt;
2395 AST_MATCHER_P(CompoundStmt, hasAnySubstatement,
2411 AST_MATCHER_P(CompoundStmt, statementCountIs, unsigned, N) {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseExpr.cpp657 case CompoundStmt: break; // Nothing else to do.
2060 if (ExprType >= CompoundStmt && Tok.is(tok::l_brace)) {
2065 ExprType = CompoundStmt;

Completed in 315 milliseconds

12