clang  6.0.0svn
Public Types | Public Member Functions | Friends | List of all members
clang::Redeclarable< decl_type >::redecl_iterator Class Reference

Iterates through all the redeclarations of the same decl. More...

#include "clang/AST/Redeclarable.h"

Public Types

typedef decl_type * value_type
 
typedef decl_type * reference
 
typedef decl_type * pointer
 
typedef std::forward_iterator_tag iterator_category
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 redecl_iterator ()
 
 redecl_iterator (decl_type *C)
 
reference operator* () const
 
pointer operator-> () const
 
redecl_iteratoroperator++ ()
 
redecl_iterator operator++ (int)
 

Friends

bool operator== (redecl_iterator x, redecl_iterator y)
 
bool operator!= (redecl_iterator x, redecl_iterator y)
 

Detailed Description

template<typename decl_type>
class clang::Redeclarable< decl_type >::redecl_iterator

Iterates through all the redeclarations of the same decl.

Definition at line 233 of file Redeclarable.h.

Member Typedef Documentation

◆ difference_type

template<typename decl_type>
typedef std::ptrdiff_t clang::Redeclarable< decl_type >::redecl_iterator::difference_type

Definition at line 244 of file Redeclarable.h.

◆ iterator_category

template<typename decl_type>
typedef std::forward_iterator_tag clang::Redeclarable< decl_type >::redecl_iterator::iterator_category

Definition at line 243 of file Redeclarable.h.

◆ pointer

template<typename decl_type>
typedef decl_type* clang::Redeclarable< decl_type >::redecl_iterator::pointer

Definition at line 242 of file Redeclarable.h.

◆ reference

template<typename decl_type>
typedef decl_type* clang::Redeclarable< decl_type >::redecl_iterator::reference

Definition at line 241 of file Redeclarable.h.

◆ value_type

template<typename decl_type>
typedef decl_type* clang::Redeclarable< decl_type >::redecl_iterator::value_type

Definition at line 240 of file Redeclarable.h.

Constructor & Destructor Documentation

◆ redecl_iterator() [1/2]

template<typename decl_type>
clang::Redeclarable< decl_type >::redecl_iterator::redecl_iterator ( )
inline

Definition at line 246 of file Redeclarable.h.

◆ redecl_iterator() [2/2]

template<typename decl_type>
clang::Redeclarable< decl_type >::redecl_iterator::redecl_iterator ( decl_type *  C)
inlineexplicit

Definition at line 247 of file Redeclarable.h.

Member Function Documentation

◆ operator*()

template<typename decl_type>
reference clang::Redeclarable< decl_type >::redecl_iterator::operator* ( ) const
inline

Definition at line 250 of file Redeclarable.h.

◆ operator++() [1/2]

template<typename decl_type>
redecl_iterator& clang::Redeclarable< decl_type >::redecl_iterator::operator++ ( )
inline

Definition at line 253 of file Redeclarable.h.

◆ operator++() [2/2]

template<typename decl_type>
redecl_iterator clang::Redeclarable< decl_type >::redecl_iterator::operator++ ( int  )
inline

Definition at line 271 of file Redeclarable.h.

◆ operator->()

template<typename decl_type>
pointer clang::Redeclarable< decl_type >::redecl_iterator::operator-> ( ) const
inline

Definition at line 251 of file Redeclarable.h.

Friends And Related Function Documentation

◆ operator!=

template<typename decl_type>
bool operator!= ( redecl_iterator  x,
redecl_iterator  y 
)
friend

Definition at line 280 of file Redeclarable.h.

◆ operator==

template<typename decl_type>
bool operator== ( redecl_iterator  x,
redecl_iterator  y 
)
friend

Definition at line 277 of file Redeclarable.h.


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