clang 18.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 61 of file UnresolvedSet.h.
Definition at line 81 of file UnresolvedSet.h.
Definition at line 80 of file UnresolvedSet.h.
|
inline |
Definition at line 91 of file UnresolvedSet.h.
References addDecl(), and clang::AS_none.
Referenced by clang::Sema::ActOnExplicitInstantiation(), addDecl(), clang::LookupResult::addDecl(), buildDeclareReductionRef(), clang::Sema::CheckFunctionTemplateSpecialization(), 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 95 of file UnresolvedSet.h.
References clang::DeclAccessPair::make().
Definition at line 137 of file UnresolvedSet.h.
Referenced by clang::LookupResult::addAllDecls(), buildDeclareReductionRef(), clang::Sema::BuildOperatorCoawaitCall(), buildUserDefinedMapperRef(), clang::Sema::LookupOverloadedOperatorName(), and clang::Sema::ProduceCallSignatureHelp().
Definition at line 139 of file UnresolvedSet.h.
|
inline |
Definition at line 83 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(), CollectVisibleConversions(), clang::Sema::CreateUnresolvedLookupExpr(), clang::ASTImporter::Import(), IsOverloaded(), noteOverloads(), notePlausibleOverloads(), replace(), clang::LookupResult::resolveKind(), clang::transformOMPMappableExprListClause(), clang::ASTNodeImporter::VisitUnresolvedLookupExpr(), and clang::ASTNodeImporter::VisitUnresolvedMemberExpr().
|
inline |
|
inline |
Definition at line 131 of file UnresolvedSet.h.
Referenced by clang::LookupResult::clear(), and clang::Sema::tryExprAsCall().
|
inline |
Definition at line 134 of file UnresolvedSet.h.
Referenced by clang::Sema::ActOnCXXFoldExpr(), clang::Sema::CheckFunctionTemplateSpecialization(), clang::Sema::CreateOverloadedBinOp(), clang::Sema::CreateOverloadedUnaryOp(), clang::LookupResult::empty(), clang::LookupResult::getRepresentativeDecl(), clang::LookupResult::resolveKindAfterFilter(), and clang::LookupResult::setNotFoundInCurrentInstantiation().
|
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(), 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 123 of file UnresolvedSet.h.
References end().
|
inline |
Definition at line 117 of file UnresolvedSet.h.
References size().
|
inline |
Definition at line 141 of file UnresolvedSet.h.
|
inline |
Definition at line 142 of file UnresolvedSet.h.
|
inline |
Definition at line 89 of file UnresolvedSet.h.
Referenced by clang::Sema::CheckExplicitlyDefaultedComparison().
Replaces the given declaration with the new one, once.
Definition at line 102 of file UnresolvedSet.h.
Replaces the declaration at the given iterator with the new one, preserving the original access bits.
Definition at line 111 of file UnresolvedSet.h.
|
inline |
Definition at line 113 of file UnresolvedSet.h.
|
inline |
Definition at line 129 of file UnresolvedSet.h.
References clang::Decl::setAccess().
|
inline |
Definition at line 135 of file UnresolvedSet.h.
Referenced by collectViableConversionCandidates(), clang::DependentFunctionTemplateSpecializationInfo::Create(), diagnoseAmbiguousConversion(), diagnoseNoViableConversion(), erase(), IsOverloaded(), clang::Sema::PerformContextualImplicitConversion(), clang::LookupResult::print(), and clang::LookupResult::resolveKind().
|
inline |
Definition at line 132 of file UnresolvedSet.h.
Referenced by clang::LookupResult::resolveKind().
|
friend |
Definition at line 67 of file UnresolvedSet.h.