clang 20.0.0git
Public Types | Public Member Functions | Friends | List of all members
clang::DeclContext::all_lookups_iterator Class Reference

all_lookups_iterator - An iterator that provides a view over the results of looking up every possible name. More...

#include "clang/AST/DeclLookups.h"

Public Types

using value_type = lookup_result
 
using reference = lookup_result
 
using pointer = lookup_result
 
using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

 all_lookups_iterator ()=default
 
 all_lookups_iterator (StoredDeclsMap::iterator It, StoredDeclsMap::iterator End)
 
DeclarationName getLookupName () const
 
reference operator* () const
 
pointer operator-> () const
 
all_lookups_iteratoroperator++ ()
 
all_lookups_iterator operator++ (int)
 

Friends

bool operator== (all_lookups_iterator x, all_lookups_iterator y)
 
bool operator!= (all_lookups_iterator x, all_lookups_iterator y)
 

Detailed Description

all_lookups_iterator - An iterator that provides a view over the results of looking up every possible name.

Definition at line 28 of file DeclLookups.h.

Member Typedef Documentation

◆ difference_type

Definition at line 36 of file DeclLookups.h.

◆ iterator_category

Definition at line 35 of file DeclLookups.h.

◆ pointer

Definition at line 34 of file DeclLookups.h.

◆ reference

Definition at line 33 of file DeclLookups.h.

◆ value_type

Definition at line 32 of file DeclLookups.h.

Constructor & Destructor Documentation

◆ all_lookups_iterator() [1/2]

clang::DeclContext::all_lookups_iterator::all_lookups_iterator ( )
default

◆ all_lookups_iterator() [2/2]

clang::DeclContext::all_lookups_iterator::all_lookups_iterator ( StoredDeclsMap::iterator  It,
StoredDeclsMap::iterator  End 
)
inline

Definition at line 39 of file DeclLookups.h.

Member Function Documentation

◆ getLookupName()

DeclarationName clang::DeclContext::all_lookups_iterator::getLookupName ( ) const
inline

Definition at line 43 of file DeclLookups.h.

◆ operator*()

reference clang::DeclContext::all_lookups_iterator::operator* ( ) const
inline

Definition at line 45 of file DeclLookups.h.

◆ operator++() [1/2]

all_lookups_iterator & clang::DeclContext::all_lookups_iterator::operator++ ( )
inline

Definition at line 48 of file DeclLookups.h.

References clang::DeclarationName::getUsingDirectiveName().

◆ operator++() [2/2]

all_lookups_iterator clang::DeclContext::all_lookups_iterator::operator++ ( int  )
inline

Definition at line 60 of file DeclLookups.h.

◆ operator->()

pointer clang::DeclContext::all_lookups_iterator::operator-> ( ) const
inline

Definition at line 46 of file DeclLookups.h.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( all_lookups_iterator  x,
all_lookups_iterator  y 
)
friend

Definition at line 70 of file DeclLookups.h.

◆ operator==

bool operator== ( all_lookups_iterator  x,
all_lookups_iterator  y 
)
friend

Definition at line 66 of file DeclLookups.h.


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