LLVM 17.0.0git
Public Member Functions | Public Attributes | Friends | List of all members
llvm::detail::index_stream::iterator Struct Reference

#include "llvm/ADT/STLExtras.h"

Inheritance diagram for llvm::detail::index_stream::iterator:
Inheritance graph
[legend]

Public Member Functions

iteratoroperator++ ()
 
std::size_t operator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< iterator, std::forward_iterator_tag, const iterator >
iterator operator+ (std::ptrdiff_t n) const
 
iterator operator- (std::ptrdiff_t n) const
 
iterator & operator++ ()
 
iterator operator++ (int)
 
iterator & operator-- ()
 
iterator operator-- (int)
 
bool operator!= (const iterator &RHS) const
 
bool operator> (const iterator &RHS) const
 
bool operator<= (const iterator &RHS) const
 
bool operator>= (const iterator &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (std::ptrdiff_t n) const
 

Public Attributes

std::size_t Index = 0
 

Friends

bool operator== (const iterator &Lhs, const iterator &Rhs)
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_facade_base< iterator, std::forward_iterator_tag, const iterator >
using iterator_category = std::forward_iterator_tag
 
using value_type = const iterator
 
using difference_type = std::ptrdiff_t
 
using pointer = const iterator *
 
using reference = const iterator &
 
- Protected Types inherited from llvm::iterator_facade_base< iterator, std::forward_iterator_tag, const iterator >
enum  
 

Detailed Description

Definition at line 2358 of file STLExtras.h.

Member Function Documentation

◆ operator*()

std::size_t llvm::detail::index_stream::iterator::operator* ( ) const
inline

Definition at line 2372 of file STLExtras.h.

References Index.

◆ operator++()

iterator & llvm::detail::index_stream::iterator::operator++ ( )
inline

Definition at line 2360 of file STLExtras.h.

References assert(), and Index.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const iterator Lhs,
const iterator Rhs 
)
friend

Definition at line 2374 of file STLExtras.h.

Member Data Documentation

◆ Index

std::size_t llvm::detail::index_stream::iterator::Index = 0

Definition at line 2378 of file STLExtras.h.

Referenced by llvm::detail::index_stream::end(), operator*(), and operator++().


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