|
clang 24.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 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(), buildDeclareReductionRef(), clang::Sema::CheckFunctionTemplateSpecialization(), clang::Sema::CheckMemberSpecialization(), CollectVisibleConversions(), clang::ASTImporter::Import(), clang::ASTNodeImporter::ImportTemplateInformation(), notePlausibleOverloads(), clang::Sema::PerformContextualImplicitConversion(), 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 buildDeclareReductionRef(), clang::Sema::BuildOperatorCoawaitCall(), buildUserDefinedMapperRef(), clang::Sema::LookupOverloadedOperatorName(), and clang::SemaCodeCompletion::ProduceCallSignatureHelp().
|
inline |
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(), buildDeclareReductionRef(), buildUserDefinedMapperRef(), clang::Sema::CheckFunctionTemplateSpecialization(), clang::Sema::CheckMemberSpecialization(), CollectVisibleConversions(), clang::Sema::CreateUnresolvedLookupExpr(), clang::ASTImporter::Import(), noteOverloads(), notePlausibleOverloads(), replace(), clang::ASTNodeImporter::VisitUnresolvedLookupExpr(), and clang::ASTNodeImporter::VisitUnresolvedMemberExpr().
|
inline |
|
inline |
Definition at line 131 of file UnresolvedSet.h.
|
inline |
Definition at line 134 of file UnresolvedSet.h.
Referenced by clang::Sema::ActOnCXXFoldExpr(), clang::Sema::CheckFunctionTemplateSpecialization(), clang::Sema::CheckMemberSpecialization(), clang::Sema::CreateOverloadedBinOp(), and clang::Sema::CreateOverloadedUnaryOp().
|
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(), CollectVisibleConversions(), clang::Sema::CreateUnresolvedLookupExpr(), end(), erase(), clang::ASTImporter::Import(), noteOverloads(), notePlausibleOverloads(), replace(), 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(), and collectViableConversionCandidates().
Replaces the given declaration with the new one, once.
Definition at line 102 of file UnresolvedSet.h.
References begin(), end(), and clang::New.
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 clang::New.
|
inline |
Definition at line 113 of file UnresolvedSet.h.
References clang::New.
|
inline |
Definition at line 129 of file UnresolvedSet.h.
References clang::Decl::setAccess().
|
inline |
Definition at line 135 of file UnresolvedSet.h.
Referenced by clang::DependentFunctionTemplateSpecializationInfo::Create(), diagnoseAmbiguousConversion(), diagnoseNoViableConversion(), erase(), and clang::Sema::PerformContextualImplicitConversion().
|
inline |
Definition at line 132 of file UnresolvedSet.h.
|
friend |
Definition at line 68 of file UnresolvedSet.h.
References UnresolvedSet.
Referenced by UnresolvedSet.