clang  14.0.0git
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"

Public Types

using iterator = DeclListNode::iterator
 
using const_iterator = iterator
 
using reference = iterator::reference
 

Public Member Functions

 DeclContextLookupResult ()=default
 
 DeclContextLookupResult (Decls Result)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
bool empty () const
 
bool isSingleResult () const
 
reference front () const
 
template<class T >
T * find_first () const
 

Detailed Description

The results of name lookup within a DeclContext.

Definition at line 1292 of file DeclBase.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 1303 of file DeclBase.h.

◆ iterator

Definition at line 1302 of file DeclBase.h.

◆ reference

Definition at line 1304 of file DeclBase.h.

Constructor & Destructor Documentation

◆ DeclContextLookupResult() [1/2]

clang::DeclContextLookupResult::DeclContextLookupResult ( )
default

◆ DeclContextLookupResult() [2/2]

clang::DeclContextLookupResult::DeclContextLookupResult ( Decls  Result)
inline

Definition at line 1300 of file DeclBase.h.

Member Function Documentation

◆ begin() [1/2]

iterator clang::DeclContextLookupResult::begin ( )
inline

◆ begin() [2/2]

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

Definition at line 1308 of file DeclBase.h.

References begin().

◆ empty()

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

◆ end() [1/2]

iterator clang::DeclContextLookupResult::end ( )
inline

◆ end() [2/2]

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

Definition at line 1311 of file DeclBase.h.

◆ find_first()

template<class T >
T* clang::DeclContextLookupResult::find_first ( ) const
inline

◆ front()

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

Definition at line 1315 of file DeclBase.h.

References begin().

Referenced by clang::Sema::BuildBlockForLambdaConversion(), and lookupStdNamespace().

◆ isSingleResult()

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

Definition at line 1314 of file DeclBase.h.


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