clang: clang::UnresolvedSetImpl Class Reference (original) (raw)

A set of unresolved declarations. More...

#include "[clang/AST/UnresolvedSet.h](UnresolvedSet%5F8h%5Fsource.html)"

Public Member Functions
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
ArrayRef< DeclAccessPair > pairs () const
void addDecl (NamedDecl *D)
void addDecl (NamedDecl *D, AccessSpecifier AS)
bool replace (const NamedDecl *Old, NamedDecl *New)
Replaces the given declaration with the new one, once.
void replace (iterator I, NamedDecl *New)
Replaces the declaration at the given iterator with the new one, preserving the original access bits.
void replace (iterator I, NamedDecl *New, AccessSpecifier AS)
void erase (unsigned I)
void erase (iterator I)
void setAccess (iterator I, AccessSpecifier AS)
void clear ()
void truncate (unsigned N)
bool empty () const
unsigned size () const
void append (iterator I, iterator E)
template<typename Iter >
void assign (Iter I, Iter E)
DeclAccessPair & operator[] (unsigned I)
const DeclAccessPair & operator[] (unsigned I) const

A set of unresolved declarations.

Definition at line 62 of file UnresolvedSet.h.

const_iterator

iterator

addDecl() [1/2]

void clang::UnresolvedSetImpl::addDecl ( NamedDecl * D) inline

Definition at line 92 of file UnresolvedSet.h.

References addDecl(), clang::AS_none, and D.

Referenced by clang::Sema::ActOnExplicitInstantiation(), addDecl(), clang::LookupResult::addDecl(), buildDeclareReductionRef(), clang::Sema::CheckFunctionTemplateSpecialization(), clang::Sema::CheckMemberSpecialization(), CollectVisibleConversions(), clang::ASTImporter::Import(), clang::ASTNodeImporter::ImportTemplateInformation(), notePlausibleOverloads(), clang::Sema::PerformContextualImplicitConversion(), clang::transformOMPMappableExprListClause(), clang::Sema::tryExprAsCall(), clang::ASTDeclReader::VisitFunctionDecl(), clang::ASTNodeImporter::VisitUnresolvedLookupExpr(), and clang::ASTNodeImporter::VisitUnresolvedMemberExpr().

addDecl() [2/2]

append()

assign()

template<typename Iter >

void clang::UnresolvedSetImpl::assign ( Iter I, Iter E ) inline

begin() [1/2]

iterator clang::UnresolvedSetImpl::begin ( ) inline

Definition at line 84 of file UnresolvedSet.h.

References begin().

Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::AddFunctionCandidates(), clang::Sema::AddNonMemberOperatorCandidates(), begin(), clang::LookupResult::begin(), buildDeclareReductionRef(), buildUserDefinedMapperRef(), clang::Sema::CheckFunctionTemplateSpecialization(), clang::Sema::CheckMemberSpecialization(), CollectVisibleConversions(), clang::Sema::CreateUnresolvedLookupExpr(), clang::ASTImporter::Import(), noteOverloads(), notePlausibleOverloads(), replace(), clang::LookupResult::resolveKind(), clang::transformOMPMappableExprListClause(), clang::ASTNodeImporter::VisitUnresolvedLookupExpr(), and clang::ASTNodeImporter::VisitUnresolvedMemberExpr().

begin() [2/2]

clear()

void clang::UnresolvedSetImpl::clear ( ) inline

empty()

bool clang::UnresolvedSetImpl::empty ( ) const inline

end() [1/2]

iterator clang::UnresolvedSetImpl::end ( ) inline

Definition at line 85 of file UnresolvedSet.h.

References end().

Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::AddFunctionCandidates(), clang::Sema::AddNonMemberOperatorCandidates(), buildDeclareReductionRef(), buildUserDefinedMapperRef(), clang::Sema::CheckFunctionTemplateSpecialization(), clang::Sema::CheckMemberSpecialization(), CollectVisibleConversions(), clang::Sema::CreateUnresolvedLookupExpr(), end(), clang::LookupResult::end(), erase(), clang::ASTImporter::Import(), noteOverloads(), notePlausibleOverloads(), replace(), clang::transformOMPMappableExprListClause(), clang::ASTNodeImporter::VisitUnresolvedLookupExpr(), and clang::ASTNodeImporter::VisitUnresolvedMemberExpr().

end() [2/2]

erase() [1/2]

void clang::UnresolvedSetImpl::erase ( iterator I) inline

erase() [2/2]

void clang::UnresolvedSetImpl::erase ( unsigned I) inline

operator[]() [1/2]

operator[]() [2/2]

pairs()

replace() [1/3]

Replaces the given declaration with the new one, once.

Returns

true if the set changed

Definition at line 103 of file UnresolvedSet.h.

References begin(), E, and end().

replace() [2/3]

Replaces the declaration at the given iterator with the new one, preserving the original access bits.

Definition at line 112 of file UnresolvedSet.h.

replace() [3/3]

setAccess()

size()

unsigned clang::UnresolvedSetImpl::size ( ) const inline

truncate()

void clang::UnresolvedSetImpl::truncate ( unsigned N) inline

UnresolvedSet


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