clang  6.0.0svn
Public Types | Public Member Functions | Friends | List of all members
clang::Decl::redecl_iterator Class Reference

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

#include "clang/AST/DeclBase.h"

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 866 of file DeclBase.h.

Member Typedef Documentation

◆ difference_type

Definition at line 876 of file DeclBase.h.

◆ iterator_category

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

Definition at line 875 of file DeclBase.h.

◆ pointer

Definition at line 874 of file DeclBase.h.

◆ reference

Definition at line 873 of file DeclBase.h.

◆ value_type

Definition at line 872 of file DeclBase.h.

Constructor & Destructor Documentation

◆ redecl_iterator() [1/2]

clang::Decl::redecl_iterator::redecl_iterator ( )
inline

Definition at line 878 of file DeclBase.h.

◆ redecl_iterator() [2/2]

clang::Decl::redecl_iterator::redecl_iterator ( Decl C)
inlineexplicit

Definition at line 879 of file DeclBase.h.

Member Function Documentation

◆ operator*()

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

Definition at line 881 of file DeclBase.h.

◆ operator++() [1/2]

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

Definition at line 884 of file DeclBase.h.

◆ operator++() [2/2]

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

Definition at line 893 of file DeclBase.h.

◆ operator->()

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

Definition at line 882 of file DeclBase.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 902 of file DeclBase.h.

◆ operator==

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

Definition at line 899 of file DeclBase.h.


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