clang 20.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 3449 of file DeclCXX.h.

Member Typedef Documentation

◆ difference_type

Definition at line 3458 of file DeclCXX.h.

◆ iterator_category

Definition at line 3457 of file DeclCXX.h.

◆ pointer

Definition at line 3456 of file DeclCXX.h.

◆ reference

Definition at line 3455 of file DeclCXX.h.

◆ value_type

Definition at line 3454 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 3461 of file DeclCXX.h.

Member Function Documentation

◆ operator*()

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

Definition at line 3463 of file DeclCXX.h.

◆ operator++() [1/2]

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

Definition at line 3466 of file DeclCXX.h.

◆ operator++() [2/2]

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

Definition at line 3471 of file DeclCXX.h.

◆ operator->()

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

Definition at line 3464 of file DeclCXX.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 3480 of file DeclCXX.h.

◆ operator==

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

Definition at line 3477 of file DeclCXX.h.


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