clang 20.0.0git
|
A set of unresolved declarations. More...
#include "clang/AST/UnresolvedSet.h"
Public Types | |
using | iterator = UnresolvedSetIterator |
using | const_iterator = UnresolvedSetIterator |
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 |
Friends | |
template<unsigned N> | |
class | UnresolvedSet |
A set of unresolved declarations.
Definition at line 62 of file UnresolvedSet.h.
Definition at line 82 of file UnresolvedSet.h.
Definition at line 81 of file UnresolvedSet.h.
|
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().
|
inline |
Definition at line 96 of file UnresolvedSet.h.
References D, and clang::DeclAccessPair::make().
Definition at line 138 of file UnresolvedSet.h.
References E.
Referenced by clang::LookupResult::addAllDecls(), buildDeclareReductionRef(), clang::Sema::BuildOperatorCoawaitCall(), buildUserDefinedMapperRef(), clang::Sema::LookupOverloadedOperatorName(), and clang::SemaCodeCompletion::ProduceCallSignatureHelp().
Definition at line 140 of file UnresolvedSet.h.
References E.
|
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().
|
inline |
|
inline |
Definition at line 132 of file UnresolvedSet.h.
Referenced by clang::LookupResult::clear(), and clang::Sema::tryExprAsCall().
|
inline |
Definition at line 135 of file UnresolvedSet.h.
Referenced by clang::Sema::ActOnCXXFoldExpr(), clang::Sema::CheckFunctionTemplateSpecialization(), clang::Sema::CheckMemberSpecialization(), clang::Sema::CreateOverloadedBinOp(), clang::Sema::CreateOverloadedUnaryOp(), clang::LookupResult::empty(), clang::LookupResult::getRepresentativeDecl(), clang::LookupResult::resolveKindAfterFilter(), and clang::LookupResult::setNotFoundInCurrentInstantiation().
|
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().
|
inline |
|
inline |
Definition at line 124 of file UnresolvedSet.h.
References end().
|
inline |
Definition at line 118 of file UnresolvedSet.h.
References size().
|
inline |
Definition at line 142 of file UnresolvedSet.h.
|
inline |
Definition at line 143 of file UnresolvedSet.h.
|
inline |
Definition at line 90 of file UnresolvedSet.h.
Referenced by clang::Sema::CheckExplicitlyDefaultedComparison().
Replaces the given declaration with the new one, once.
Definition at line 103 of file UnresolvedSet.h.
Replaces the declaration at the given iterator with the new one, preserving the original access bits.
Definition at line 112 of file UnresolvedSet.h.
|
inline |
Definition at line 114 of file UnresolvedSet.h.
|
inline |
Definition at line 130 of file UnresolvedSet.h.
References clang::Decl::setAccess().
|
inline |
Definition at line 136 of file UnresolvedSet.h.
Referenced by collectViableConversionCandidates(), clang::DependentFunctionTemplateSpecializationInfo::Create(), diagnoseAmbiguousConversion(), diagnoseNoViableConversion(), erase(), clang::Sema::PerformContextualImplicitConversion(), clang::LookupResult::print(), and clang::LookupResult::resolveKind().
|
inline |
Definition at line 133 of file UnresolvedSet.h.
Referenced by clang::LookupResult::resolveKind().
|
friend |
Definition at line 68 of file UnresolvedSet.h.