clang 20.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 1321 of file DeclBase.h.

Member Typedef Documentation

◆ difference_type

Definition at line 1328 of file DeclBase.h.

◆ iterator_category

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

Definition at line 1332 of file DeclBase.h.

◆ pointer

Definition at line 1330 of file DeclBase.h.

◆ reference

Definition at line 1331 of file DeclBase.h.

◆ value_type

Definition at line 1329 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 1360 of file DeclBase.h.

References iterator().

◆ operator!=()

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

Definition at line 1344 of file DeclBase.h.

References X.

◆ operator*()

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

Definition at line 1336 of file DeclBase.h.

◆ operator++() [1/2]

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

Definition at line 1345 of file DeclBase.h.

◆ operator++() [2/2]

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

Definition at line 1354 of file DeclBase.h.

◆ operator->()

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

Definition at line 1342 of file DeclBase.h.

◆ operator==()

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

Definition at line 1343 of file DeclBase.h.

References X.

Friends And Related Function Documentation

◆ DeclContextLookupResult

friend class DeclContextLookupResult
friend

Definition at line 1322 of file DeclBase.h.

◆ StoredDeclsList

friend class StoredDeclsList
friend

Definition at line 1323 of file DeclBase.h.


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