clang  6.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 1148 of file DeclBase.h.

Member Typedef Documentation

◆ const_iterator

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

◆ pointer

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

Definition at line 1181 of file DeclBase.h.

◆ reference

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

Definition at line 1182 of file DeclBase.h.

Constructor & Destructor Documentation

◆ DeclContextLookupResult() [1/3]

clang::DeclContextLookupResult::DeclContextLookupResult ( )
inline

Definition at line 1158 of file DeclBase.h.

◆ DeclContextLookupResult() [2/3]

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

Definition at line 1159 of file DeclBase.h.

◆ DeclContextLookupResult() [3/3]

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

Definition at line 1161 of file DeclBase.h.

Member Function Documentation

◆ back()

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

Definition at line 1191 of file DeclBase.h.

◆ begin()

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

◆ data()

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

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

◆ size()

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

Definition at line 1189 of file DeclBase.h.

Referenced by ClassImplementsAllMethodsAndProperties().

◆ slice()

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

Definition at line 1195 of file DeclBase.h.


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