clang  14.0.0git
Public Types | Public Member Functions | Friends | List of all members
clang::BaseUsingDecl::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 3312 of file DeclCXX.h.

Member Typedef Documentation

◆ difference_type

Definition at line 3321 of file DeclCXX.h.

◆ iterator_category

Definition at line 3320 of file DeclCXX.h.

◆ pointer

Definition at line 3319 of file DeclCXX.h.

◆ reference

Definition at line 3318 of file DeclCXX.h.

◆ value_type

Definition at line 3317 of file DeclCXX.h.

Constructor & Destructor Documentation

◆ shadow_iterator() [1/2]

clang::BaseUsingDecl::shadow_iterator::shadow_iterator ( )
default

◆ shadow_iterator() [2/2]

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

Definition at line 3324 of file DeclCXX.h.

Member Function Documentation

◆ operator*()

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

Definition at line 3326 of file DeclCXX.h.

◆ operator++() [1/2]

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

Definition at line 3329 of file DeclCXX.h.

◆ operator++() [2/2]

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

Definition at line 3334 of file DeclCXX.h.

◆ operator->()

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

Definition at line 3327 of file DeclCXX.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 3343 of file DeclCXX.h.

◆ operator==

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

Definition at line 3340 of file DeclCXX.h.


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