clang API Documentation

Public Types | Public Member Functions | Friends
clang::Redeclarable< decl_type >::redecl_iterator Class Reference

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

#include <Redeclarable.h>

List of all members.

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 174 of file Redeclarable.h.


Member Typedef Documentation

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

Definition at line 185 of file Redeclarable.h.

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

Definition at line 184 of file Redeclarable.h.

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

Definition at line 183 of file Redeclarable.h.

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

Definition at line 182 of file Redeclarable.h.

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

Definition at line 181 of file Redeclarable.h.


Constructor & Destructor Documentation

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

Definition at line 187 of file Redeclarable.h.

template<typename decl_type>
clang::Redeclarable< decl_type >::redecl_iterator::redecl_iterator ( decl_type *  C) [inline, explicit]

Definition at line 188 of file Redeclarable.h.


Member Function Documentation

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

Definition at line 191 of file Redeclarable.h.

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

Definition at line 194 of file Redeclarable.h.

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

Definition at line 212 of file Redeclarable.h.

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

Definition at line 192 of file Redeclarable.h.


Friends And Related Function Documentation

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

Definition at line 221 of file Redeclarable.h.

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

Definition at line 218 of file Redeclarable.h.


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