LLVM  6.0.0svn
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]
Collaboration diagram for llvm::SmallPtrSetIteratorImpl:
Collaboration 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. More...
 
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 222 of file SmallPtrSet.h.

Constructor & Destructor Documentation

◆ SmallPtrSetIteratorImpl()

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

Definition at line 228 of file SmallPtrSet.h.

References llvm::shouldReverseIterate().

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 248 of file SmallPtrSet.h.

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

◆ operator!=()

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

Definition at line 240 of file SmallPtrSet.h.

References Bucket.

◆ operator==()

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

Definition at line 237 of file SmallPtrSet.h.

References Bucket.

◆ RetreatIfNotValid()

void llvm::SmallPtrSetIteratorImpl::RetreatIfNotValid ( )
inlineprotected

Member Data Documentation

◆ Bucket

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

Definition at line 224 of file SmallPtrSet.h.

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

◆ End

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

Definition at line 225 of file SmallPtrSet.h.


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