Searched refs:decl_begin (Results 1 – 9 of 9) sorted by relevance
479 decl_range decls() { return decl_range(decl_begin(), decl_end()); } in decls()481 return decl_const_range(decl_begin(), decl_end()); in decls()483 decl_iterator decl_begin() { return DG.begin(); } in decl_begin() function485 const_decl_iterator decl_begin() const { return DG.begin(); } in decl_begin() function493 return reverse_decl_iterator(decl_begin()); in decl_rend()
2656 return std::distance(Node.decl_begin(), Node.decl_end()) == (ptrdiff_t)N; in AST_MATCHER_P()2680 const unsigned NumDecls = std::distance(Node.decl_begin(), Node.decl_end()); in AST_MATCHER_P2()2683 DeclStmt::const_decl_iterator Iterator = Node.decl_begin(); in AST_MATCHER_P2()
468 const VarDecl *VD = dyn_cast_or_null<VarDecl>(*DS->decl_begin()); in VisitDeclStmt()
1120 for (clang::DeclStmt::decl_iterator decl = stmt->decl_begin(); in DECL_VISIT_STMT()
349 Decl *D = *cast<DeclStmt>(Elts[i])->decl_begin(); in ActOnCompoundStmt()1761 return StmtError(Diag((*DS->decl_begin())->getLocation(), in ActOnObjCForCollectionStmt()
1666 for (DeclStmt::const_decl_iterator I = Node->decl_begin(), in VisitDeclStmt()
5673 RewriteObjCQualifiedInterfaceTypes(*DS->decl_begin()); in RewriteFunctionBodyOrGlobalInitializer()5676 for (DeclStmt::decl_iterator DI = DS->decl_begin(), DE = DS->decl_end(); in RewriteFunctionBodyOrGlobalInitializer()5690 RewriteByRefVar(VD, (DI == DS->decl_begin()), ((DI+1) == DE)); in RewriteFunctionBodyOrGlobalInitializer()
4710 RewriteObjCQualifiedInterfaceTypes(*DS->decl_begin()); in RewriteFunctionBodyOrGlobalInitializer()
2038 if (isa<LabelDecl>(*DS->decl_begin())) in VisitDeclStmt()