clang  9.0.0svn
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. More...
 
void erase (NamedDecl *D)
 Removes any data associated with a given decl. More...
 
iterator begin ()
 
iterator end ()
 

Detailed Description

A class for storing results from argument-dependent lookup.

Definition at line 798 of file Lookup.h.

Member Typedef Documentation

◆ iterator

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

Definition at line 819 of file Lookup.h.

Member Function Documentation

◆ begin()

iterator clang::ADLResult::begin ( )
inline

Definition at line 821 of file Lookup.h.

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

◆ end()

iterator clang::ADLResult::end ( )
inline

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

References clang::Decl::getCanonicalDecl().

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

◆ insert()

void ADLResult::insert ( NamedDecl D)

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