clang  5.0.0svn
Classes | Public Types | Public Member Functions | List of all members
clang::DeclContextLookupResult Class Reference

The results of name lookup within a DeclContext. More...

#include "clang/AST/DeclBase.h"

Classes

class  iterator
 

Public Types

typedef llvm::iterator_adaptor_base< iterator, ResultTy::iterator, std::random_access_iterator_tag, NamedDecl *const > IteratorBase
 
typedef iterator const_iterator
 
typedef iterator::pointer pointer
 
typedef iterator::reference reference
 

Public Member Functions

 DeclContextLookupResult ()
 
 DeclContextLookupResult (ArrayRef< NamedDecl *> Result)
 
 DeclContextLookupResult (NamedDecl *Single)
 
iterator begin () const
 
iterator end () const
 
bool empty () const
 
pointer data () const
 
size_t size () const
 
reference front () const
 
reference back () const
 
reference operator[] (size_t N) const
 
DeclContextLookupResult slice (size_t N) const
 

Detailed Description

The results of name lookup within a DeclContext.

This is either a single result (with no stable storage) or a collection of results (with stable storage provided by the lookup table).

Definition at line 1107 of file DeclBase.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 1139 of file DeclBase.h.

◆ IteratorBase

typedef llvm::iterator_adaptor_base<iterator, ResultTy::iterator, std::random_access_iterator_tag, NamedDecl *const> clang::DeclContextLookupResult::IteratorBase

Definition at line 1123 of file DeclBase.h.

◆ pointer

typedef iterator::pointer clang::DeclContextLookupResult::pointer

Definition at line 1140 of file DeclBase.h.

◆ reference

typedef iterator::reference clang::DeclContextLookupResult::reference

Definition at line 1141 of file DeclBase.h.

Constructor & Destructor Documentation

◆ DeclContextLookupResult() [1/3]

clang::DeclContextLookupResult::DeclContextLookupResult ( )
inline

Definition at line 1117 of file DeclBase.h.

◆ DeclContextLookupResult() [2/3]

clang::DeclContextLookupResult::DeclContextLookupResult ( ArrayRef< NamedDecl *>  Result)
inline

Definition at line 1118 of file DeclBase.h.

◆ DeclContextLookupResult() [3/3]

clang::DeclContextLookupResult::DeclContextLookupResult ( NamedDecl Single)
inline

Definition at line 1120 of file DeclBase.h.

Member Function Documentation

◆ back()

reference clang::DeclContextLookupResult::back ( ) const
inline

Definition at line 1150 of file DeclBase.h.

◆ begin()

iterator clang::DeclContextLookupResult::begin ( ) const
inline

◆ data()

pointer clang::DeclContextLookupResult::data ( ) const
inline

Definition at line 1147 of file DeclBase.h.

◆ empty()

bool clang::DeclContextLookupResult::empty ( ) const
inline

◆ end()

iterator clang::DeclContextLookupResult::end ( ) const
inline

◆ front()

reference clang::DeclContextLookupResult::front ( ) const
inline

◆ operator[]()

reference clang::DeclContextLookupResult::operator[] ( size_t  N) const
inline

Definition at line 1151 of file DeclBase.h.

◆ size()

size_t clang::DeclContextLookupResult::size ( ) const
inline

◆ slice()

DeclContextLookupResult clang::DeclContextLookupResult::slice ( size_t  N) const
inline

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