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

123

/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.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
547 /// CompoundStmt - This represents a group of statements like { stmt stmt }.
549 class CompoundStmt : public Stmt { class in namespace:clang
553 CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts,
557 explicit CompoundStmt(SourceLocation Loc) function in class:clang::CompoundStmt
563 explicit CompoundStmt(EmptyShell Empty) function in class:clang::CompoundStmt
1843 CompoundStmt *getBlock() const {
1844 return cast<CompoundStmt>(Children[BLOCK]);
1879 CompoundStmt *getBloc
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DIdenticalExprChecker.cpp144 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt1)) {
148 if (const CompoundStmt *CompStmt = dyn_cast<CompoundStmt>(Stmt2)) {
412 const CompoundStmt *CompStmt1 = cast<CompoundStmt>(Stmt1);
413 const CompoundStmt *CompStmt2 = cast<CompoundStmt>(Stmt2);
418 CompoundStmt::const_body_iterator I1 = CompStmt1->body_begin();
419 CompoundStmt
[all...]
H A DCheckSecuritySyntaxOnly.cpp80 void VisitCompoundStmt (CompoundStmt *S);
163 void WalkAST::VisitCompoundStmt(CompoundStmt *S) {
/external/clang/lib/AST/
H A DStmtPrinter.cpp65 void PrintRawCompoundStmt(CompoundStmt *S);
115 void StmtPrinter::PrintRawCompoundStmt(CompoundStmt *Node) {
142 void StmtPrinter::VisitCompoundStmt(CompoundStmt *Node) {
186 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(If->getThen())) {
199 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Else)) {
227 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(Node->getBody())) {
249 if (CompoundStmt *C
[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,
/external/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp89 bool VisitCompoundStmt(CompoundStmt *S) {
158 CompoundStmt *S = E->getSubStmt();
159 for (CompoundStmt::body_iterator
168 bool VisitCompoundStmt(CompoundStmt *S) {
188 static bool isBodyEmpty(CompoundStmt *body, ASTContext &Ctx,
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) {
H A DTransRetainReleaseDealloc.cpp364 CompoundStmt *CompS = dyn_cast_or_null<CompoundStmt>(*StmtExprChild);
/external/lldb/source/Expression/
H A DASTStructExtractor.cpp66 CompoundStmt *body_compound_stmt = dyn_cast<CompoundStmt>(body_stmt);
75 for (CompoundStmt::const_body_iterator bi = body_compound_stmt->body_begin(), be = body_compound_stmt->body_end();
H A DASTResultSynthesizer.cpp155 CompoundStmt *compound_stmt = dyn_cast<CompoundStmt>(function_body);
203 CompoundStmt *compound_stmt = dyn_cast<CompoundStmt>(method_body);
224 ASTResultSynthesizer::SynthesizeBodyResult (CompoundStmt *Body,
/external/lldb/include/lldb/Expression/
H A DASTResultSynthesizer.h153 bool SynthesizeBodyResult(clang::CompoundStmt *Body,
/external/clang/lib/Analysis/
H A DBodyFarm.cpp57 CompoundStmt *makeCompound(ArrayRef<Stmt*>);
107 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) {
108 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation());
229 CompoundStmt *CS = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2));
340 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);
1190 if (CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) {
1347 return VisitCompoundStmt(cast<CompoundStmt>(S));
1817 CFGBlock *CFGBuilder::VisitCompoundStmt(CompoundStmt *C) {
1821 for (CompoundStmt::reverse_body_iterator I=C->body_rbegin(), E=C->body_rend();
2067 if (!isa<CompoundStmt>(Else))
2090 if (!isa<CompoundStmt>(Then))
2311 if (!isa<CompoundStmt>(
[all...]
/external/lldb/include/lldb/Core/
H A DClangForward.h39 class CompoundStmt;
/external/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp600 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S))
627 PathDiagnosticLocation::createBeginBrace(const CompoundStmt *CS,
634 PathDiagnosticLocation::createEndBrace(const CompoundStmt *CS,
644 if (const CompoundStmt *CS =
645 dyn_cast_or_null<CompoundStmt>(LC->getDecl()->getBody()))
/external/chromium_org/tools/clang/plugins/
H A DFindBadConstructsConsumer.cpp272 if (CompoundStmt* cs = dyn_cast<CompoundStmt>(method->getBody())) {
/external/chromium_org/v8/tools/gcmole/
H A Dgcmole.cc869 VISIT(CompoundStmt);
995 DECL_VISIT_STMT(CompoundStmt) {
997 clang::CompoundStmt::body_iterator end = stmt->body_end();
998 for (clang::CompoundStmt::body_iterator s = stmt->body_begin();
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h33 class CompoundStmt;
228 static PathDiagnosticLocation createBeginBrace(const CompoundStmt *CS,
233 static PathDiagnosticLocation createEndBrace(const CompoundStmt *CS,
/external/clang/lib/CodeGen/
H A DCGStmt.cpp210 case Stmt::CompoundStmtClass: EmitCompoundStmt(cast<CompoundStmt>(*S)); break;
228 llvm::Value* CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast,
240 CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S,
244 for (CompoundStmt::const_body_iterator I = S.body_begin(),
1318 if (const CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) {
1321 CompoundStmt::const_body_iterator I = CS->body_begin(), E = CS->body_end();
H A DCodeGenFunction.cpp513 if (auto *CS = dyn_cast_or_null<CompoundStmt>(Body)) {
700 if (const CompoundStmt *S = dyn_cast<CompoundStmt>(Body))
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1085 const internal::VariadicDynCastAllOfMatcher<Stmt, CompoundStmt> compoundStmt;
2520 AST_MATCHER_P(CompoundStmt, hasAnySubstatement,
2536 AST_MATCHER_P(CompoundStmt, statementCountIs, unsigned, N) {
/external/clang/lib/Parse/
H A DParseExpr.cpp650 case CompoundStmt: break; // Nothing else to do.
1965 if (ExprType >= CompoundStmt && Tok.is(tok::l_brace)) {
1970 ExprType = CompoundStmt;

Completed in 1071 milliseconds

123