clang  14.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 1244 of file DeclBase.h.

Member Typedef Documentation

◆ difference_type

Definition at line 1251 of file DeclBase.h.

◆ iterator_category

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

Definition at line 1255 of file DeclBase.h.

◆ pointer

Definition at line 1253 of file DeclBase.h.

◆ reference

Definition at line 1254 of file DeclBase.h.

◆ value_type

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

References iterator().

◆ operator!=()

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

Definition at line 1267 of file DeclBase.h.

References clang::tooling::X().

◆ operator*()

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

Definition at line 1259 of file DeclBase.h.

◆ operator++() [1/2]

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

Definition at line 1268 of file DeclBase.h.

◆ operator++() [2/2]

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

Definition at line 1277 of file DeclBase.h.

◆ operator->()

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

Definition at line 1265 of file DeclBase.h.

◆ operator==()

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

Definition at line 1266 of file DeclBase.h.

References clang::tooling::X().

Friends And Related Function Documentation

◆ DeclContextLookupResult

friend class DeclContextLookupResult
friend

Definition at line 1245 of file DeclBase.h.

◆ StoredDeclsList

friend class StoredDeclsList
friend

Definition at line 1246 of file DeclBase.h.


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