clang  5.0.0svn
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

typedef lookup_result value_type
 
typedef lookup_result reference
 
typedef lookup_result pointer
 
typedef std::forward_iterator_tag iterator_category
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 all_lookups_iterator ()
 
 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 26 of file DeclLookups.h.

Member Typedef Documentation

◆ difference_type

Definition at line 33 of file DeclLookups.h.

◆ iterator_category

Definition at line 32 of file DeclLookups.h.

◆ pointer

Definition at line 31 of file DeclLookups.h.

◆ reference

Definition at line 30 of file DeclLookups.h.

◆ value_type

Definition at line 29 of file DeclLookups.h.

Constructor & Destructor Documentation

◆ all_lookups_iterator() [1/2]

clang::DeclContext::all_lookups_iterator::all_lookups_iterator ( )
inline

◆ all_lookups_iterator() [2/2]

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

Definition at line 36 of file DeclLookups.h.

Member Function Documentation

◆ getLookupName()

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

Definition at line 40 of file DeclLookups.h.

◆ operator*()

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

Definition at line 42 of file DeclLookups.h.

◆ operator++() [1/2]

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

Definition at line 45 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 57 of file DeclLookups.h.

◆ operator->()

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

Definition at line 43 of file DeclLookups.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 66 of file DeclLookups.h.

◆ operator==

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

Definition at line 63 of file DeclLookups.h.


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