clang 22.0.0git
clang::DeclListNode::iterator Class Reference

#include "clang/AST/DeclBase.h"

Public Types

using difference_type = ptrdiff_t
using value_type = NamedDecl*
using pointer = void
using reference = value_type
using iterator_category = std::forward_iterator_tag

Public Member Functions

 iterator ()=default
reference operator* () const
void operator-> () const
bool operator== (const iterator &X) const
bool operator!= (const iterator &X) const
iteratoroperator++ ()
iterator operator++ (int)
iterator end ()

Friends

class DeclContextLookupResult
class StoredDeclsList

Detailed Description

Definition at line 1334 of file DeclBase.h.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

using clang::DeclListNode::iterator::iterator_category = std::forward_iterator_tag

Definition at line 1345 of file DeclBase.h.

◆ pointer

Definition at line 1343 of file DeclBase.h.

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ iterator()

clang::DeclListNode::iterator::iterator ( )
default

Referenced by end().

Member Function Documentation

◆ end()

iterator clang::DeclListNode::iterator::end ( )
inline

Definition at line 1373 of file DeclBase.h.

References iterator().

Referenced by findOrdinaryMember(), and clang::Sema::LookupQualifiedName().

◆ operator!=()

bool clang::DeclListNode::iterator::operator!= ( const iterator & X) const
inline

Definition at line 1357 of file DeclBase.h.

References X.

◆ operator*()

reference clang::DeclListNode::iterator::operator* ( ) const
inline

Definition at line 1349 of file DeclBase.h.

References clang::cast().

◆ operator++() [1/2]

iterator & clang::DeclListNode::iterator::operator++ ( )
inline

Definition at line 1358 of file DeclBase.h.

◆ operator++() [2/2]

iterator clang::DeclListNode::iterator::operator++ ( int )
inline

Definition at line 1367 of file DeclBase.h.

◆ operator->()

void clang::DeclListNode::iterator::operator-> ( ) const
inline

Definition at line 1355 of file DeclBase.h.

◆ operator==()

bool clang::DeclListNode::iterator::operator== ( const iterator & X) const
inline

Definition at line 1356 of file DeclBase.h.

References X.

◆ DeclContextLookupResult

friend class DeclContextLookupResult
friend

Definition at line 1335 of file DeclBase.h.

References DeclContextLookupResult.

Referenced by DeclContextLookupResult.

◆ StoredDeclsList

friend class StoredDeclsList
friend

Definition at line 1336 of file DeclBase.h.

References StoredDeclsList.

Referenced by StoredDeclsList.


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