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

Iterates through the using shadow declarations associated with this using declaration. More...

#include "clang/AST/DeclCXX.h"

Public Types

typedef UsingShadowDeclvalue_type
 
typedef UsingShadowDeclreference
 
typedef UsingShadowDeclpointer
 
typedef std::forward_iterator_tag iterator_category
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 shadow_iterator ()
 
 shadow_iterator (UsingShadowDecl *C)
 
reference operator* () const
 
pointer operator-> () const
 
shadow_iteratoroperator++ ()
 
shadow_iterator operator++ (int)
 

Friends

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

Detailed Description

Iterates through the using shadow declarations associated with this using declaration.

Definition at line 3263 of file DeclCXX.h.

Member Typedef Documentation

◆ difference_type

Definition at line 3272 of file DeclCXX.h.

◆ iterator_category

typedef std::forward_iterator_tag clang::UsingDecl::shadow_iterator::iterator_category

Definition at line 3271 of file DeclCXX.h.

◆ pointer

Definition at line 3270 of file DeclCXX.h.

◆ reference

Definition at line 3269 of file DeclCXX.h.

◆ value_type

Definition at line 3268 of file DeclCXX.h.

Constructor & Destructor Documentation

◆ shadow_iterator() [1/2]

clang::UsingDecl::shadow_iterator::shadow_iterator ( )
inline

Definition at line 3274 of file DeclCXX.h.

◆ shadow_iterator() [2/2]

clang::UsingDecl::shadow_iterator::shadow_iterator ( UsingShadowDecl C)
inlineexplicit

Definition at line 3275 of file DeclCXX.h.

Member Function Documentation

◆ operator*()

reference clang::UsingDecl::shadow_iterator::operator* ( ) const
inline

Definition at line 3277 of file DeclCXX.h.

◆ operator++() [1/2]

shadow_iterator& clang::UsingDecl::shadow_iterator::operator++ ( )
inline

Definition at line 3280 of file DeclCXX.h.

References clang::UsingShadowDecl::getNextUsingShadowDecl().

◆ operator++() [2/2]

shadow_iterator clang::UsingDecl::shadow_iterator::operator++ ( int  )
inline

Definition at line 3285 of file DeclCXX.h.

◆ operator->()

pointer clang::UsingDecl::shadow_iterator::operator-> ( ) const
inline

Definition at line 3278 of file DeclCXX.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 3294 of file DeclCXX.h.

◆ operator==

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

Definition at line 3291 of file DeclCXX.h.


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