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

using value_type = UsingShadowDecl *
 
using reference = UsingShadowDecl *
 
using pointer = UsingShadowDecl *
 
using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

 shadow_iterator ()=default
 
 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 3337 of file DeclCXX.h.

Member Typedef Documentation

◆ difference_type

Definition at line 3346 of file DeclCXX.h.

◆ iterator_category

using clang::UsingDecl::shadow_iterator::iterator_category = std::forward_iterator_tag

Definition at line 3345 of file DeclCXX.h.

◆ pointer

Definition at line 3344 of file DeclCXX.h.

◆ reference

Definition at line 3343 of file DeclCXX.h.

◆ value_type

Definition at line 3342 of file DeclCXX.h.

Constructor & Destructor Documentation

◆ shadow_iterator() [1/2]

clang::UsingDecl::shadow_iterator::shadow_iterator ( )
default

◆ shadow_iterator() [2/2]

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

Definition at line 3349 of file DeclCXX.h.

Member Function Documentation

◆ operator*()

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

Definition at line 3351 of file DeclCXX.h.

◆ operator++() [1/2]

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

Definition at line 3354 of file DeclCXX.h.

References clang::UsingShadowDecl::getNextUsingShadowDecl().

◆ operator++() [2/2]

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

Definition at line 3359 of file DeclCXX.h.

◆ operator->()

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

Definition at line 3352 of file DeclCXX.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 3368 of file DeclCXX.h.

◆ operator==

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

Definition at line 3365 of file DeclCXX.h.


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