/external/clang/utils/TableGen/ |
D | ClangASTNodesEmitter.cpp | 105 const std::vector<Record*> Stmts in run() local 110 for (unsigned i = 0, e = Stmts.size(); i != e; ++i) { in run() 111 Record *R = Stmts[i]; in run()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 79 Parser::ParseStatementOrDeclaration(StmtVector &Stmts, bool OnlyStatement, in ParseStatementOrDeclaration() argument 87 StmtResult Res = ParseStatementOrDeclarationAfterAttributes(Stmts, in ParseStatementOrDeclaration() 100 Parser::ParseStatementOrDeclarationAfterAttributes(StmtVector &Stmts, in ParseStatementOrDeclarationAfterAttributes() argument 230 DeclGroupPtrTy Decl = ParseDeclaration(Stmts, Declarator::BlockContext, in ParseStatementOrDeclarationAfterAttributes() 745 StmtVector Stmts(Actions); in ParseCompoundStatementBody() local 776 Stmts.push_back(R.release()); in ParseCompoundStatementBody() 787 ParseMicrosoftIfExistsStatement(Stmts); in ParseCompoundStatementBody() 793 R = ParseStatementOrDeclaration(Stmts, false); in ParseCompoundStatementBody() 813 DeclGroupPtrTy Res = ParseDeclaration(Stmts, in ParseCompoundStatementBody() 835 Stmts.push_back(R.release()); in ParseCompoundStatementBody() [all …]
|
D | Parser.cpp | 647 StmtVector Stmts(Actions); in ParseExternalDeclaration() local 648 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 658 StmtVector Stmts(Actions); in ParseExternalDeclaration() local 659 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 670 StmtVector Stmts(Actions); in ParseExternalDeclaration() local 671 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 680 StmtVector Stmts(Actions); in ParseExternalDeclaration() local 681 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration()
|
D | ParseDecl.cpp | 970 Parser::DeclGroupPtrTy Parser::ParseDeclaration(StmtVector &Stmts, in ParseDeclaration() argument 995 return ParseSimpleDeclaration(Stmts, Context, DeclEnd, attrs, in ParseDeclaration() 1011 return ParseSimpleDeclaration(Stmts, Context, DeclEnd, attrs, true); in ParseDeclaration() 1034 Parser::DeclGroupPtrTy Parser::ParseSimpleDeclaration(StmtVector &Stmts, in ParseSimpleDeclaration() argument
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 247 void CompoundStmt::setStmts(ASTContext &C, Stmt **Stmts, unsigned NumStmts) { in setStmts() argument 253 memcpy(Body, Stmts, sizeof(Stmt *) * NumStmts); in setStmts() 570 Stmt **Stmts = getStmts(); in ObjCAtTryStmt() local 571 Stmts[0] = atTryStmt; in ObjCAtTryStmt() 573 Stmts[I + 1] = CatchStmts[I]; in ObjCAtTryStmt() 576 Stmts[NumCatchStmts + 1] = atFinallyStmt; in ObjCAtTryStmt() 635 Stmt **Stmts = reinterpret_cast<Stmt **>(this + 1); in CXXTryStmt() local 636 Stmts[0] = tryBlock; in CXXTryStmt() 637 std::copy(handlers, handlers + NumHandlers, Stmts + 1); in CXXTryStmt()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 1525 StmtVector Stmts(Actions); 1526 return ParseStatementOrDeclaration(Stmts, true, TrailingElseLoc); 1528 StmtResult ParseStatementOrDeclaration(StmtVector &Stmts, 1532 StmtVector &Stmts, 1594 void ParseMicrosoftIfExistsStatement(StmtVector &Stmts); 1652 DeclGroupPtrTy ParseDeclaration(StmtVector &Stmts, 1655 DeclGroupPtrTy ParseSimpleDeclaration(StmtVector &Stmts,
|
/external/clang/lib/Rewrite/ |
D | RewriteObjC.cpp | 112 SmallVector<Stmt *, 32> Stmts; member in __anon86db81f10111::RewriteObjC 1434 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteBreakStmt() 1451 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteContinueStmt() 1498 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty"); in RewriteObjCForCollectionStmt() 1499 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && in RewriteObjCForCollectionStmt() 1655 Stmts.pop_back(); in RewriteObjCForCollectionStmt() 4654 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader() 4666 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 4668 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 4797 if (Stmts.empty() || !IsDeclStmtInForeachHeader(DS)) in RewriteFunctionBodyOrGlobalInitializer() [all …]
|
D | RewriteModernObjC.cpp | 120 SmallVector<Stmt *, 32> Stmts; member in __anon17502b760111::RewriteModernObjC 1510 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteBreakStmt() 1527 if (Stmts.empty() || !isa<ObjCForCollectionStmt>(Stmts.back())) in RewriteContinueStmt() 1574 assert(!Stmts.empty() && "ObjCForCollectionStmt - Statement stack empty"); in RewriteObjCForCollectionStmt() 1575 assert(isa<ObjCForCollectionStmt>(Stmts.back()) && in RewriteObjCForCollectionStmt() 1731 Stmts.pop_back(); in RewriteObjCForCollectionStmt() 5152 dyn_cast<ObjCForCollectionStmt>(Stmts.back())) in IsDeclStmtInForeachHeader() 5164 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 5166 Stmts.push_back(S); in RewriteFunctionBodyOrGlobalInitializer() 5308 if (Stmts.empty() || !IsDeclStmtInForeachHeader(DS)) in RewriteFunctionBodyOrGlobalInitializer() [all …]
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 122 SmallVector<Stmt *, 16> Stmts; in VisitCompoundStmt() local 125 Stmts.push_back(Reader.ReadSubStmt()); in VisitCompoundStmt() 126 S->setStmts(Reader.getContext(), Stmts.data(), Stmts.size()); in VisitCompoundStmt()
|
/external/clang/include/clang/Basic/ |
D | Attr.td | 9 // Decls and Stmts are possibly AttrSubjects (even though the syntax may not
|
/external/clang/include/clang/AST/ |
D | Stmt.h | 570 void setStmts(ASTContext &C, Stmt **Stmts, unsigned NumStmts);
|