clang 20.0.0git
Classes | Public Types | Public Member Functions | List of all members
clang::ADLResult Class Reference

A class for storing results from argument-dependent lookup. More...

#include "clang/Sema/Lookup.h"

Public Types

using iterator = llvm::mapped_iterator< decltype(Decls)::iterator, select_second >
 

Public Member Functions

void insert (NamedDecl *D)
 Adds a new ADL candidate to this map.
 
void erase (NamedDecl *D)
 Removes any data associated with a given decl.
 
iterator begin ()
 
iterator end ()
 

Detailed Description

A class for storing results from argument-dependent lookup.

Definition at line 869 of file Lookup.h.

Member Typedef Documentation

◆ iterator

using clang::ADLResult::iterator = llvm::mapped_iterator<decltype(Decls)::iterator, select_second>

Definition at line 889 of file Lookup.h.

Member Function Documentation

◆ begin()

iterator clang::ADLResult::begin ( )
inline

Definition at line 892 of file Lookup.h.

Referenced by clang::Sema::AddArgumentDependentLookupCandidates().

◆ end()

iterator clang::ADLResult::end ( )
inline

Definition at line 893 of file Lookup.h.

Referenced by clang::Sema::AddArgumentDependentLookupCandidates().

◆ erase()

void clang::ADLResult::erase ( NamedDecl D)
inline

Removes any data associated with a given decl.

Definition at line 885 of file Lookup.h.

References D.

Referenced by clang::Sema::AddArgumentDependentLookupCandidates().

◆ insert()

void ADLResult::insert ( NamedDecl D)

Adds a new ADL candidate to this map.

Definition at line 3747 of file SemaLookup.cpp.

References clang::Decl::getAsFunction(), and clang::Decl::getCanonicalDecl().


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