clang 22.0.0git
clang::DeclIDIterator< FromTy, ToTy > Class Template Reference

A helper iterator adaptor to convert the iterators to SmallVector<SomeDeclID> to the iterators to SmallVector<OtherDeclID>. More...

#include "clang/AST/DeclID.h"

Inheritance diagram for clang::DeclIDIterator< FromTy, ToTy >:
[legend]

Public Member Functions

 DeclIDIterator ()
 DeclIDIterator (const FromTy *ID)
ToTy operator* () const
bool operator== (const DeclIDIterator &RHS) const

Detailed Description

template<class FromTy, class ToTy>
class clang::DeclIDIterator< FromTy, ToTy >

A helper iterator adaptor to convert the iterators to SmallVector<SomeDeclID> to the iterators to SmallVector<OtherDeclID>.

Definition at line 229 of file DeclID.h.

Constructor & Destructor Documentation

◆ DeclIDIterator() [1/2]

template<class FromTy, class ToTy>
clang::DeclIDIterator< FromTy, ToTy >::DeclIDIterator ( )
inline

Definition at line 234 of file DeclID.h.

References DeclIDIterator(), and clang::nullptr.

Referenced by DeclIDIterator(), DeclIDIterator(), and operator==().

◆ DeclIDIterator() [2/2]

template<class FromTy, class ToTy>
clang::DeclIDIterator< FromTy, ToTy >::DeclIDIterator ( const FromTy * ID)
inline

Definition at line 236 of file DeclID.h.

References DeclIDIterator().

Member Function Documentation

◆ operator*()

template<class FromTy, class ToTy>
ToTy clang::DeclIDIterator< FromTy, ToTy >::operator* ( ) const
inline

Definition at line 239 of file DeclID.h.

◆ operator==()

template<class FromTy, class ToTy>
bool clang::DeclIDIterator< FromTy, ToTy >::operator== ( const DeclIDIterator< FromTy, ToTy > & RHS) const
inline

Definition at line 241 of file DeclID.h.

References DeclIDIterator().


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