LLVM  14.0.0git
Public Types | Public Member Functions | Friends | List of all members
llvm::EquivalenceClasses< ElemTy >::member_iterator Class Reference

#include "llvm/ADT/EquivalenceClasses.h"

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = const ElemTy
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using pointer = value_type *
 
using reference = value_type &
 

Public Member Functions

 member_iterator ()=default
 
 member_iterator (const ECValue *N)
 
reference operator* () const
 
pointer operator-> () const
 
member_iteratoroperator++ ()
 
member_iterator operator++ (int)
 
bool operator== (const member_iterator &RHS) const
 
bool operator!= (const member_iterator &RHS) const
 

Friends

class EquivalenceClasses
 

Detailed Description

template<class ElemTy>
class llvm::EquivalenceClasses< ElemTy >::member_iterator

Definition at line 251 of file EquivalenceClasses.h.

Member Typedef Documentation

◆ difference_type

template<class ElemTy >
using llvm::EquivalenceClasses< ElemTy >::member_iterator::difference_type = std::ptrdiff_t

Definition at line 260 of file EquivalenceClasses.h.

◆ iterator_category

template<class ElemTy >
using llvm::EquivalenceClasses< ElemTy >::member_iterator::iterator_category = std::forward_iterator_tag

Definition at line 257 of file EquivalenceClasses.h.

◆ pointer

template<class ElemTy >
using llvm::EquivalenceClasses< ElemTy >::member_iterator::pointer = value_type *

Definition at line 261 of file EquivalenceClasses.h.

◆ reference

template<class ElemTy >
using llvm::EquivalenceClasses< ElemTy >::member_iterator::reference = value_type &

Definition at line 262 of file EquivalenceClasses.h.

◆ size_type

template<class ElemTy >
using llvm::EquivalenceClasses< ElemTy >::member_iterator::size_type = std::size_t

Definition at line 259 of file EquivalenceClasses.h.

◆ value_type

template<class ElemTy >
using llvm::EquivalenceClasses< ElemTy >::member_iterator::value_type = const ElemTy

Definition at line 258 of file EquivalenceClasses.h.

Constructor & Destructor Documentation

◆ member_iterator() [1/2]

template<class ElemTy >
llvm::EquivalenceClasses< ElemTy >::member_iterator::member_iterator ( )
explicitdefault

◆ member_iterator() [2/2]

template<class ElemTy >
llvm::EquivalenceClasses< ElemTy >::member_iterator::member_iterator ( const ECValue *  N)
inlineexplicit

Definition at line 265 of file EquivalenceClasses.h.

Member Function Documentation

◆ operator!=()

template<class ElemTy >
bool llvm::EquivalenceClasses< ElemTy >::member_iterator::operator!= ( const member_iterator RHS) const
inline

Definition at line 288 of file EquivalenceClasses.h.

◆ operator*()

template<class ElemTy >
reference llvm::EquivalenceClasses< ElemTy >::member_iterator::operator* ( ) const
inline

◆ operator++() [1/2]

template<class ElemTy >
member_iterator& llvm::EquivalenceClasses< ElemTy >::member_iterator::operator++ ( )
inline

Definition at line 273 of file EquivalenceClasses.h.

References assert().

◆ operator++() [2/2]

template<class ElemTy >
member_iterator llvm::EquivalenceClasses< ElemTy >::member_iterator::operator++ ( int  )
inline

Definition at line 279 of file EquivalenceClasses.h.

◆ operator->()

template<class ElemTy >
pointer llvm::EquivalenceClasses< ElemTy >::member_iterator::operator-> ( ) const
inline

◆ operator==()

template<class ElemTy >
bool llvm::EquivalenceClasses< ElemTy >::member_iterator::operator== ( const member_iterator RHS) const
inline

Definition at line 285 of file EquivalenceClasses.h.

Friends And Related Function Documentation

◆ EquivalenceClasses

template<class ElemTy >
friend class EquivalenceClasses
friend

Definition at line 252 of file EquivalenceClasses.h.


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