llvm::SmallPtrSetIterator

SmallPtrSetIterator - This implements a const_iterator for SmallPtrSet.

Synopsis

Declared in <llvm/ADT/SmallPtrSet.h>

template<typename PtrTy>
class SmallPtrSetIterator
    : public SmallPtrSetIteratorImpl

Base Classes

NameDescription
SmallPtrSetIteratorImplSmallPtrSetIteratorImpl - This is the common base class shared between all instances of SmallPtrSetIterator.

Type Aliases

NameDescription
difference_type Signed type used to express the distance between iterators.
iterator_category Iterator category; supports single-pass forward traversal.
pointer Pointer type equivalent to the iterator's value type.
reference Reference type returned by dereferencing the iterator.
value_type Element type produced when the iterator is dereferenced.

Member Functions

NameDescription
getEpochAddress Always returns nullptr when ABI-breaking checks are disabled.
isHandleInSync Always returns true when ABI-breaking checks are disabled.
operator* Return the pointer at the current bucket, converted to PtrTy.
operator++ Increment operators
operator== Return true if both iterators refer to the same bucket position.
operator!= Return true if the iterators refer to different bucket positions.

Using Declarations

NameDescription
SmallPtrSetIterator Inherit constructors from SmallPtrSetIteratorImpl.

Protected Member Functions

NameDescription
dereference Return the pointer stored in the current bucket.
increment Advance to the next occupied bucket, skipping empty hash-table slots.