clang API Documentation

Public Types | Public Member Functions | Friends
clang::Decl::redecl_iterator Class Reference

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

#include <DeclBase.h>

List of all members.

Public Types

typedef Declvalue_type
typedef const value_typereference
typedef const value_typepointer
typedef std::forward_iterator_tag iterator_category
typedef std::ptrdiff_t difference_type

Public Member Functions

 redecl_iterator ()
 redecl_iterator (Decl *C)
reference operator* () const
value_type 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

Iterates through all the redeclarations of the same decl.

Definition at line 735 of file DeclBase.h.


Member Typedef Documentation

Definition at line 745 of file DeclBase.h.

typedef std::forward_iterator_tag clang::Decl::redecl_iterator::iterator_category

Definition at line 744 of file DeclBase.h.

Definition at line 743 of file DeclBase.h.

Definition at line 742 of file DeclBase.h.

Definition at line 741 of file DeclBase.h.


Constructor & Destructor Documentation

Definition at line 747 of file DeclBase.h.

Definition at line 748 of file DeclBase.h.


Member Function Documentation

reference clang::Decl::redecl_iterator::operator* ( ) const [inline]

Definition at line 750 of file DeclBase.h.

redecl_iterator& clang::Decl::redecl_iterator::operator++ ( ) [inline]

Definition at line 753 of file DeclBase.h.

References clang::Decl::getNextRedeclarationImpl().

redecl_iterator clang::Decl::redecl_iterator::operator++ ( int  ) [inline]

Definition at line 762 of file DeclBase.h.

value_type clang::Decl::redecl_iterator::operator-> ( ) const [inline]

Definition at line 751 of file DeclBase.h.


Friends And Related Function Documentation

bool operator!= ( redecl_iterator  x,
redecl_iterator  y 
) [friend]

Definition at line 771 of file DeclBase.h.

bool operator== ( redecl_iterator  x,
redecl_iterator  y 
) [friend]

Definition at line 768 of file DeclBase.h.


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