clang 22.0.0git
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 1382 of file DeclBase.h.

Member Typedef Documentation

◆ const_iterator

◆ iterator

◆ reference

Constructor & Destructor Documentation

◆ DeclContextLookupResult() [1/2]

clang::DeclContextLookupResult::DeclContextLookupResult ( )
default

Referenced by begin().

◆ DeclContextLookupResult() [2/2]

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

Definition at line 1390 of file DeclBase.h.

Member Function Documentation

◆ begin() [1/2]

◆ begin() [2/2]

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

Definition at line 1398 of file DeclBase.h.

References begin(), and DeclContextLookupResult().

◆ empty()

◆ end() [1/2]

◆ end() [2/2]

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

Definition at line 1401 of file DeclBase.h.

◆ find_first()

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

◆ front()

◆ isSingleResult()

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

Definition at line 1404 of file DeclBase.h.

Referenced by hasConflictingOverload().


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