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 | |
| 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 91 of file UnresolvedSet.h.
References addDecl(), and clang::AS_none.
Referenced by clang::Sema::ActOnExplicitInstantiation(), addDecl(), buildDeclareReductionRef(), clang::Sema::CheckFunctionTemplateSpecialization(), clang::Sema::CheckMemberSpecialization(), clang::Sema::CheckVarOrConceptTemplateTemplateId(), CollectVisibleConversions(), clang::ASTImporter::Import(), clang::ASTNodeImporter::ImportTemplateInformation(), notePlausibleOverloads(), clang::Sema::PerformContextualImplicitConversion(), clang::ASTDeclReader::VisitFunctionDecl(), clang::ASTNodeImporter::VisitUnresolvedLookupExpr(), and clang::ASTNodeImporter::VisitUnresolvedMemberExpr().
◆ addDecl() [2/2]
◆ append()
| void clang::UnresolvedSetImpl::append ( iterator I, iterator E ) | inline |
|---|
◆ assign()
template
| void clang::UnresolvedSetImpl::assign ( Iter I, Iter E ) | inline |
|---|
◆ begin() [1/2]
| iterator clang::UnresolvedSetImpl::begin ( ) | inline |
|---|
Definition at line 83 of file UnresolvedSet.h.
References begin().
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::AddFunctionCandidates(), clang::Sema::AddNonMemberOperatorCandidates(), begin(), buildDeclareReductionRef(), buildUserDefinedMapperRef(), clang::Sema::CheckFunctionTemplateSpecialization(), clang::Sema::CheckMemberSpecialization(), clang::Sema::CheckVarOrConceptTemplateTemplateId(), CollectVisibleConversions(), clang::Sema::CreateUnresolvedLookupExpr(), clang::ASTImporter::Import(), noteOverloads(), notePlausibleOverloads(), replace(), clang::ASTNodeImporter::VisitUnresolvedLookupExpr(), and clang::ASTNodeImporter::VisitUnresolvedMemberExpr().
◆ begin() [2/2]
| const_iterator clang::UnresolvedSetImpl::begin ( ) const | inline |
|---|
◆ clear()
| void clang::UnresolvedSetImpl::clear ( ) | inline |
|---|
◆ empty()
| bool clang::UnresolvedSetImpl::empty ( ) const | inline |
|---|
◆ end() [1/2]
| iterator clang::UnresolvedSetImpl::end ( ) | inline |
|---|
Definition at line 84 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(), clang::Sema::CheckVarOrConceptTemplateTemplateId(), CollectVisibleConversions(), clang::Sema::CreateUnresolvedLookupExpr(), end(), erase(), clang::ASTImporter::Import(), noteOverloads(), notePlausibleOverloads(), replace(), clang::ASTNodeImporter::VisitUnresolvedLookupExpr(), and clang::ASTNodeImporter::VisitUnresolvedMemberExpr().
◆ end() [2/2]
| const_iterator clang::UnresolvedSetImpl::end ( ) const | inline |
|---|
◆ 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 102 of file UnresolvedSet.h.
References begin(), end(), and New.
◆ replace() [2/3]
| void clang::UnresolvedSetImpl::replace ( iterator I, NamedDecl * New ) | inline |
|---|
Replaces the declaration at the given iterator with the new one, preserving the original access bits.
Definition at line 111 of file UnresolvedSet.h.
References New.
◆ 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:
- include/clang/AST/UnresolvedSet.h