clang 19.0.0git
Public Types | Public Member Functions | Friends | List of all members
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 1323 of file DeclBase.h.

Member Typedef Documentation

◆ difference_type

Definition at line 1330 of file DeclBase.h.

◆ iterator_category

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

Definition at line 1334 of file DeclBase.h.

◆ pointer

Definition at line 1332 of file DeclBase.h.

◆ reference

Definition at line 1333 of file DeclBase.h.

◆ value_type

Definition at line 1331 of file DeclBase.h.

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 1362 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 1346 of file DeclBase.h.

References X.

◆ operator*()

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

Definition at line 1338 of file DeclBase.h.

◆ operator++() [1/2]

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

Definition at line 1347 of file DeclBase.h.

◆ operator++() [2/2]

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

Definition at line 1356 of file DeclBase.h.

◆ operator->()

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

Definition at line 1344 of file DeclBase.h.

◆ operator==()

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

Definition at line 1345 of file DeclBase.h.

References X.

Friends And Related Function Documentation

◆ DeclContextLookupResult

friend class DeclContextLookupResult
friend

Definition at line 1324 of file DeclBase.h.

◆ StoredDeclsList

friend class StoredDeclsList
friend

Definition at line 1325 of file DeclBase.h.


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