clang 22.0.0git
clang::ADLResult Class Reference

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

#include "clang/Sema/Lookup.h"

Public Types

using iterator

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 871 of file Lookup.h.

Member Typedef Documentation

◆ iterator

Initial value:
llvm::mapped_iterator<decltype(Decls)::iterator, select_second>
llvm::mapped_iterator< decltype(Decls)::iterator, select_second > iterator
Definition Lookup.h:891

Definition at line 891 of file Lookup.h.

Member Function Documentation

◆ begin()

iterator clang::ADLResult::begin ( )
inline

Definition at line 894 of file Lookup.h.

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

◆ end()

iterator clang::ADLResult::end ( )
inline

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

References clang::cast(), and 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 3841 of file SemaLookup.cpp.

References clang::cast(), clang::Decl::getAsFunction(), and New.


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