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 Decl value_type
typedef value_typereference
typedef 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
pointer operator-> () const
 operator pointer () 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 690 of file DeclBase.h.


Member Typedef Documentation

Definition at line 700 of file DeclBase.h.

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

Definition at line 699 of file DeclBase.h.

Definition at line 698 of file DeclBase.h.

Definition at line 697 of file DeclBase.h.

Definition at line 696 of file DeclBase.h.


Constructor & Destructor Documentation

clang::Decl::redecl_iterator::redecl_iterator ( ) [inline]

Definition at line 702 of file DeclBase.h.

clang::Decl::redecl_iterator::redecl_iterator ( Decl C) [inline, explicit]

Definition at line 703 of file DeclBase.h.


Member Function Documentation

clang::Decl::redecl_iterator::operator pointer ( ) const [inline]

Definition at line 707 of file DeclBase.h.

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

Definition at line 705 of file DeclBase.h.

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

Definition at line 709 of file DeclBase.h.

References clang::Decl::getNextRedeclaration().

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

Definition at line 718 of file DeclBase.h.

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

Definition at line 706 of file DeclBase.h.


Friends And Related Function Documentation

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

Definition at line 727 of file DeclBase.h.

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

Definition at line 724 of file DeclBase.h.


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