clang 19.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 864 of file Lookup.h.

Member Typedef Documentation

◆ iterator

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

Definition at line 884 of file Lookup.h.

Member Function Documentation

◆ begin()

iterator clang::ADLResult::begin ( )
inline

Definition at line 887 of file Lookup.h.

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

◆ end()

iterator clang::ADLResult::end ( )
inline

Definition at line 888 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 880 of file Lookup.h.

References clang::Decl::getCanonicalDecl().

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

◆ insert()

void ADLResult::insert ( NamedDecl D)

Adds a new ADL candidate to this map.

Definition at line 3813 of file SemaLookup.cpp.

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


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