clang 20.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 >
Tfind_first () const
 

Detailed Description

The results of name lookup within a DeclContext.

Definition at line 1368 of file DeclBase.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 1379 of file DeclBase.h.

◆ iterator

Definition at line 1378 of file DeclBase.h.

◆ reference

Definition at line 1380 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 1376 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 1384 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 1387 of file DeclBase.h.

◆ find_first()

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

◆ front()

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

◆ isSingleResult()

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

Definition at line 1390 of file DeclBase.h.

Referenced by hasConflictingOverload().


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