clang 20.0.0git
Public Types | Public Member Functions | List of all members
clang::DeclContext::ddiag_iterator Class Reference

An iterator over the dependent diagnostics in a dependent context. More...

#include "clang/AST/DependentDiagnostic.h"

Public Types

using value_type = DependentDiagnostic *
 
using reference = DependentDiagnostic *
 
using pointer = DependentDiagnostic *
 
using difference_type = int
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 ddiag_iterator ()=default
 
 ddiag_iterator (DependentDiagnostic *Ptr)
 
reference operator* () const
 
ddiag_iteratoroperator++ ()
 
ddiag_iterator operator++ (int)
 
bool operator== (ddiag_iterator Other) const
 
bool operator!= (ddiag_iterator Other) const
 
ddiag_iteratoroperator+= (difference_type N)
 
ddiag_iterator operator+ (difference_type N) const
 

Detailed Description

An iterator over the dependent diagnostics in a dependent context.

Definition at line 127 of file DependentDiagnostic.h.

Member Typedef Documentation

◆ difference_type

Definition at line 135 of file DependentDiagnostic.h.

◆ iterator_category

using clang::DeclContext::ddiag_iterator::iterator_category = std::forward_iterator_tag

Definition at line 136 of file DependentDiagnostic.h.

◆ pointer

Definition at line 134 of file DependentDiagnostic.h.

◆ reference

Definition at line 133 of file DependentDiagnostic.h.

◆ value_type

Definition at line 132 of file DependentDiagnostic.h.

Constructor & Destructor Documentation

◆ ddiag_iterator() [1/2]

clang::DeclContext::ddiag_iterator::ddiag_iterator ( )
default

◆ ddiag_iterator() [2/2]

clang::DeclContext::ddiag_iterator::ddiag_iterator ( DependentDiagnostic Ptr)
inlineexplicit

Definition at line 130 of file DependentDiagnostic.h.

Member Function Documentation

◆ operator!=()

bool clang::DeclContext::ddiag_iterator::operator!= ( ddiag_iterator  Other) const
inline

Definition at line 156 of file DependentDiagnostic.h.

References clang::Other.

◆ operator*()

reference clang::DeclContext::ddiag_iterator::operator* ( ) const
inline

Definition at line 138 of file DependentDiagnostic.h.

◆ operator+()

ddiag_iterator clang::DeclContext::ddiag_iterator::operator+ ( difference_type  N) const
inline

Definition at line 167 of file DependentDiagnostic.h.

◆ operator++() [1/2]

ddiag_iterator & clang::DeclContext::ddiag_iterator::operator++ ( )
inline

Definition at line 140 of file DependentDiagnostic.h.

◆ operator++() [2/2]

ddiag_iterator clang::DeclContext::ddiag_iterator::operator++ ( int  )
inline

Definition at line 146 of file DependentDiagnostic.h.

◆ operator+=()

ddiag_iterator & clang::DeclContext::ddiag_iterator::operator+= ( difference_type  N)
inline

Definition at line 160 of file DependentDiagnostic.h.

◆ operator==()

bool clang::DeclContext::ddiag_iterator::operator== ( ddiag_iterator  Other) const
inline

Definition at line 152 of file DependentDiagnostic.h.

References clang::Other.


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