LLVM 22.0.0git
llvm::SmallPtrSetIterator< PtrTy > Class Template Reference

SmallPtrSetIterator - This implements a const_iterator for SmallPtrSet. More...

#include "llvm/ADT/SmallPtrSet.h"

Inheritance diagram for llvm::SmallPtrSetIterator< PtrTy >:
[legend]

Public Types

using value_type = PtrTy
using reference = PtrTy
using pointer = PtrTy
using difference_type = std::ptrdiff_t
using iterator_category = std::forward_iterator_tag

Public Member Functions

const PtrTy operator* () const
SmallPtrSetIteratoroperator++ ()
SmallPtrSetIterator operator++ (int)
 SmallPtrSetIteratorImpl (const void *const *BP, const void *const *E, const DebugEpochBase &Epoch)
Public Member Functions inherited from llvm::SmallPtrSetIteratorImpl
 SmallPtrSetIteratorImpl (const void *const *BP, const void *const *E, const DebugEpochBase &Epoch)
bool operator== (const SmallPtrSetIteratorImpl &RHS) const
bool operator!= (const SmallPtrSetIteratorImpl &RHS) const
Public Member Functions inherited from llvm::DebugEpochBase::HandleBase
 HandleBase ()=default
 HandleBase (const DebugEpochBase *)
bool isHandleInSync () const
const void * getEpochAddress () const

Additional Inherited Members

Protected Member Functions inherited from llvm::SmallPtrSetIteratorImpl
void * dereference () const
void increment ()

Detailed Description

template<typename PtrTy>
class llvm::SmallPtrSetIterator< PtrTy >

SmallPtrSetIterator - This implements a const_iterator for SmallPtrSet.

Definition at line 333 of file SmallPtrSet.h.

Member Typedef Documentation

◆ difference_type

template<typename PtrTy>
using llvm::SmallPtrSetIterator< PtrTy >::difference_type = std::ptrdiff_t

Definition at line 340 of file SmallPtrSet.h.

◆ iterator_category

template<typename PtrTy>
using llvm::SmallPtrSetIterator< PtrTy >::iterator_category = std::forward_iterator_tag

Definition at line 341 of file SmallPtrSet.h.

◆ pointer

template<typename PtrTy>
using llvm::SmallPtrSetIterator< PtrTy >::pointer = PtrTy

Definition at line 339 of file SmallPtrSet.h.

◆ reference

template<typename PtrTy>
using llvm::SmallPtrSetIterator< PtrTy >::reference = PtrTy

Definition at line 338 of file SmallPtrSet.h.

◆ value_type

template<typename PtrTy>
using llvm::SmallPtrSetIterator< PtrTy >::value_type = PtrTy

Definition at line 337 of file SmallPtrSet.h.

Member Function Documentation

◆ operator*()

template<typename PtrTy>
const PtrTy llvm::SmallPtrSetIterator< PtrTy >::operator* ( ) const
inlinenodiscard

Definition at line 347 of file SmallPtrSet.h.

◆ operator++() [1/2]

template<typename PtrTy>
SmallPtrSetIterator & llvm::SmallPtrSetIterator< PtrTy >::operator++ ( )
inline

Definition at line 351 of file SmallPtrSet.h.

◆ operator++() [2/2]

template<typename PtrTy>
SmallPtrSetIterator llvm::SmallPtrSetIterator< PtrTy >::operator++ ( int )
inline

Definition at line 356 of file SmallPtrSet.h.

◆ SmallPtrSetIteratorImpl()

template<typename PtrTy>
llvm::SmallPtrSetIteratorImpl::SmallPtrSetIteratorImpl ( const void *const * BP,
const void *const * E,
const DebugEpochBase & Epoch )
inlineexplicit

Definition at line 285 of file SmallPtrSet.h.


The documentation for this class was generated from the following file: