LLVM 20.0.0git
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::SmallPtrSetIteratorImpl Class Reference

SmallPtrSetIteratorImpl - This is the common base class shared between all instances of SmallPtrSetIterator. More...

#include "llvm/ADT/SmallPtrSet.h"

Inheritance diagram for llvm::SmallPtrSetIteratorImpl:
Inheritance graph
[legend]

Public Member Functions

 SmallPtrSetIteratorImpl (const void *const *BP, const void *const *E)
 
bool operator== (const SmallPtrSetIteratorImpl &RHS) const
 
bool operator!= (const SmallPtrSetIteratorImpl &RHS) const
 

Protected Member Functions

void AdvanceIfNotValid ()
 AdvanceIfNotValid - If the current bucket isn't valid, advance to a bucket that is.
 
void RetreatIfNotValid ()
 

Protected Attributes

const void *constBucket
 
const void *constEnd
 

Detailed Description

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

Definition at line 248 of file SmallPtrSet.h.

Constructor & Destructor Documentation

◆ SmallPtrSetIteratorImpl()

llvm::SmallPtrSetIteratorImpl::SmallPtrSetIteratorImpl ( const void *const BP,
const void *const E 
)
inlineexplicit

Member Function Documentation

◆ AdvanceIfNotValid()

void llvm::SmallPtrSetIteratorImpl::AdvanceIfNotValid ( )
inlineprotected

AdvanceIfNotValid - If the current bucket isn't valid, advance to a bucket that is.

This is guaranteed to stop because the end() bucket is marked valid.

Definition at line 274 of file SmallPtrSet.h.

References assert(), Bucket, End, llvm::SmallPtrSetImplBase::getEmptyMarker(), and llvm::SmallPtrSetImplBase::getTombstoneMarker().

Referenced by SmallPtrSetIteratorImpl().

◆ operator!=()

bool llvm::SmallPtrSetIteratorImpl::operator!= ( const SmallPtrSetIteratorImpl RHS) const
inline

Definition at line 266 of file SmallPtrSet.h.

References Bucket, and RHS.

◆ operator==()

bool llvm::SmallPtrSetIteratorImpl::operator== ( const SmallPtrSetIteratorImpl RHS) const
inline

Definition at line 263 of file SmallPtrSet.h.

References Bucket, and RHS.

◆ RetreatIfNotValid()

void llvm::SmallPtrSetIteratorImpl::RetreatIfNotValid ( )
inlineprotected

Member Data Documentation

◆ Bucket

const void* const* llvm::SmallPtrSetIteratorImpl::Bucket
protected

Definition at line 250 of file SmallPtrSet.h.

Referenced by AdvanceIfNotValid(), operator!=(), operator==(), and RetreatIfNotValid().

◆ End

const void* const* llvm::SmallPtrSetIteratorImpl::End
protected

Definition at line 251 of file SmallPtrSet.h.

Referenced by AdvanceIfNotValid(), and RetreatIfNotValid().


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