LLVM 19.0.0git
Public Types | Public Member Functions | List of all members
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 >:
Inheritance graph
[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

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

Additional Inherited Members

- Protected Member Functions inherited from llvm::SmallPtrSetIteratorImpl
void AdvanceIfNotValid ()
 AdvanceIfNotValid - If the current bucket isn't valid, advance to a bucket that is.
 
void RetreatIfNotValid ()
 
- Protected Attributes inherited from llvm::SmallPtrSetIteratorImpl
const void *constBucket
 
const void *constEnd
 

Detailed Description

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

SmallPtrSetIterator - This implements a const_iterator for SmallPtrSet.

Definition at line 268 of file SmallPtrSet.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 277 of file SmallPtrSet.h.

◆ iterator_category

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

Definition at line 278 of file SmallPtrSet.h.

◆ pointer

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

Definition at line 276 of file SmallPtrSet.h.

◆ reference

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

Definition at line 275 of file SmallPtrSet.h.

◆ value_type

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

Definition at line 274 of file SmallPtrSet.h.

Constructor & Destructor Documentation

◆ SmallPtrSetIterator()

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

Definition at line 280 of file SmallPtrSet.h.

Member Function Documentation

◆ operator*()

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

Definition at line 286 of file SmallPtrSet.h.

References assert(), End, and llvm::shouldReverseIterate().

◆ operator++() [1/2]

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

Definition at line 296 of file SmallPtrSet.h.

References assert(), and llvm::shouldReverseIterate().

◆ operator++() [2/2]

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

Definition at line 308 of file SmallPtrSet.h.


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