Home
last modified time | relevance | path

Searched refs:decl_iterator (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTStructExtractor.cpp115 RecordDecl::decl_iterator decl_iterator; in ExtractFromTopLevelDecl() local
117 for (decl_iterator = linkage_spec_decl->decls_begin(); in ExtractFromTopLevelDecl()
118 decl_iterator != linkage_spec_decl->decls_end(); ++decl_iterator) { in ExtractFromTopLevelDecl()
119 ExtractFromTopLevelDecl(*decl_iterator); in ExtractFromTopLevelDecl()
133 DeclGroupRef::iterator decl_iterator; in HandleTopLevelDecl() local
135 for (decl_iterator = D.begin(); decl_iterator != D.end(); ++decl_iterator) { in HandleTopLevelDecl()
136 Decl *decl = *decl_iterator; in HandleTopLevelDecl()
H A DASTResultSynthesizer.cpp77 RecordDecl::decl_iterator decl_iterator; in TransformTopLevelDecl() local
79 for (decl_iterator = linkage_spec_decl->decls_begin(); in TransformTopLevelDecl()
80 decl_iterator != linkage_spec_decl->decls_end(); ++decl_iterator) { in TransformTopLevelDecl()
81 TransformTopLevelDecl(*decl_iterator); in TransformTopLevelDecl()
102 DeclGroupRef::iterator decl_iterator; in HandleTopLevelDecl() local
104 for (decl_iterator = D.begin(); decl_iterator != D.end(); ++decl_iterator) { in HandleTopLevelDecl()
105 Decl *decl = *decl_iterator; in HandleTopLevelDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h2306 class decl_iterator {
2317 decl_iterator() = default;
2318 explicit decl_iterator(Decl *C) : Current(C) {}
2325 decl_iterator& operator++() {
2330 decl_iterator operator++(int) {
2331 decl_iterator tmp(*this);
2336 friend bool operator==(decl_iterator x, decl_iterator y) {
2340 friend bool operator!=(decl_iterator x, decl_iterator y) {
2345 using decl_range = llvm::iterator_range<decl_iterator>;
2350 decl_iterator decls_begin() const;
[all …]
H A DStmt.h1540 using decl_iterator = DeclGroupRef::iterator;
1542 using decl_range = llvm::iterator_range<decl_iterator>;
1551 decl_iterator decl_begin() { return DG.begin(); }
1552 decl_iterator decl_end() { return DG.end(); }
1556 using reverse_decl_iterator = std::reverse_iterator<decl_iterator>;
H A DType.h3233 using decl_iterator = const TypeCoupledDeclRefInfo *;
3234 using decl_range = llvm::iterator_range<decl_iterator>;
3236 decl_iterator dependent_decl_begin() const { return Decls.begin(); }
3237 decl_iterator dependent_decl_end() const { return Decls.end(); }
H A DDecl.h4351 return field_iterator(decl_iterator()); in field_end()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp145 HandleDecls(const llvm::iterator_range<DeclContext::decl_iterator> &Decls, in HandleDecls()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp504 DeclContext::decl_iterator(const_cast<FieldDecl *>(FD))); in isFlexibleArrayMemberLike()
1618 DeclContext::decl_iterator DeclContext::decls_begin() const { in decls_begin()
1621 return decl_iterator(FirstDecl); in decls_begin()
H A DDeclPrinter.cpp428 for (DeclContext::decl_iterator D = DC->decls_begin(), DEnd = DC->decls_end(); in VisitDeclContext()
515 DeclContext::decl_iterator Next = D; in VisitDeclContext()
H A DDecl.cpp5068 return field_iterator(decl_iterator(FirstDecl)); in field_begin()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp1839 for (DeclContext::decl_iterator D = TU->decls_begin(), DEnd = TU->decls_end(); in HandleTranslationUnit()
1871 DeclContext::decl_iterator N = D; in HandleTranslationUnit()
1885 DeclContext::decl_iterator N = D; in HandleTranslationUnit()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp1015 for (DeclContext::decl_iterator I = RD->decls_begin(), in MethodsAndNestedClassesComplete()
H A DSemaLookup.cpp4415 TypoCorrection::decl_iterator DI = TC.begin(), DE = TC.end(); in checkCorrectionVisibility()
H A DSemaInit.cpp2906 RecordDecl::field_iterator(DeclContext::decl_iterator(KnownField)); in CheckDesignatedInitializer()
H A DSemaDecl.cpp8994 for (TypoCorrection::decl_iterator CDecl = Correction.begin(), in DiagnoseInvalidRedeclaration()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp745 for (DeclContext::decl_iterator DI = LSD->decls_begin(), in HandleTopLevelSingleDecl()
5583 for (DeclStmt::decl_iterator DI = DS->decl_begin(), DE = DS->decl_end(); in RewriteFunctionBodyOrGlobalInitializer()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp7548 for (clang::RecordDecl::decl_iterator in BuildIndirectFields()