clang 22.0.0git
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 3518 of file DeclCXX.h.

Member Typedef Documentation

◆ difference_type

Definition at line 3527 of file DeclCXX.h.

◆ iterator_category

Definition at line 3526 of file DeclCXX.h.

◆ pointer

◆ reference

◆ value_type

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 3530 of file DeclCXX.h.

References clang::C.

Member Function Documentation

◆ operator*()

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

Definition at line 3532 of file DeclCXX.h.

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

Definition at line 3540 of file DeclCXX.h.

References shadow_iterator().

◆ operator->()

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

Definition at line 3533 of file DeclCXX.h.

◆ operator!=

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

Definition at line 3549 of file DeclCXX.h.

References shadow_iterator().

◆ operator==

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

Definition at line 3546 of file DeclCXX.h.

References shadow_iterator().


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