specific_decl_iterator - Iterates over a subrange of declarations stored in a DeclContext, providing only those that are of type SpecificDecl (or a class derived from it).
More...
#include "clang/AST/DeclBase.h"
template<typename SpecificDecl>
class clang::DeclContext::specific_decl_iterator< SpecificDecl >
specific_decl_iterator - Iterates over a subrange of declarations stored in a DeclContext, providing only those that are of type SpecificDecl (or a class derived from it).
This iterator is used, for example, to provide iteration over just the fields within a RecordDecl (with SpecificDecl = FieldDecl).
- Examples
- /home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp.
Definition at line 2369 of file DeclBase.h.
◆ difference_type
template<typename SpecificDecl >
◆ iterator_category
template<typename SpecificDecl >
◆ pointer
template<typename SpecificDecl >
◆ reference
template<typename SpecificDecl >
◆ value_type
template<typename SpecificDecl >
◆ specific_decl_iterator() [1/2]
template<typename SpecificDecl >
◆ specific_decl_iterator() [2/2]
template<typename SpecificDecl >
specific_decl_iterator - Construct a new iterator over a subset of the declarations the range [C, end-of-declarations).
If A is non-NULL, it is a pointer to a member function of SpecificDecl that should return true for all of the SpecificDecl instances that will be in the subset of iterators. For example, if you want Objective-C instance methods, SpecificDecl will be ObjCMethodDecl and A will be &ObjCMethodDecl::isInstanceMethod.
Definition at line 2403 of file DeclBase.h.
◆ operator*()
template<typename SpecificDecl >
◆ operator++() [1/2]
template<typename SpecificDecl >
◆ operator++() [2/2]
template<typename SpecificDecl >
◆ operator->()
template<typename SpecificDecl >
◆ operator!=
template<typename SpecificDecl >
◆ operator==
template<typename SpecificDecl >
The documentation for this class was generated from the following file: