clang  6.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

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

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

Member Typedef Documentation

◆ iterator

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

Definition at line 811 of file Lookup.h.

Member Function Documentation

◆ begin()

iterator clang::ADLResult::begin ( )
inline

Definition at line 813 of file Lookup.h.

◆ end()

iterator clang::ADLResult::end ( )
inline

Definition at line 814 of file Lookup.h.

◆ erase()

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

Removes any data associated with a given decl.

Definition at line 806 of file Lookup.h.

References clang::Decl::getCanonicalDecl().

◆ insert()

void ADLResult::insert ( NamedDecl D)

Adds a new ADL candidate to this map.

Definition at line 3265 of file SemaLookup.cpp.

References clang::Decl::getAsFunction(), clang::Decl::getCanonicalDecl(), and clang::Redeclarable< decl_type >::getPreviousDecl().


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