clang
10.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. More... | |
void | replace (iterator I, NamedDecl *New) |
Replaces the declaration at the given iterator with the new one, preserving the original access bits. More... | |
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 | set_size (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 clang::AS_none.
Referenced by clang::LookupResult::addDecl(), buildDeclareReductionRef(), clang::ASTImporter::Import(), clang::ASTNodeImporter::ImportTemplateInformation(), notePlausibleOverloads(), clang::Sema::PerformContextualImplicitConversion(), clang::TreeTransform< Derived >::RebuildCXXOperatorCallExpr(), 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 129 of file UnresolvedSet.h.
Referenced by clang::LookupResult::addAllDecls(), buildDeclareReductionRef(), buildOperatorCoawaitCall(), buildUserDefinedMapperRef(), and clang::TreeTransform< Derived >::RebuildCXXOperatorCallExpr().
|
inline |
Definition at line 131 of file UnresolvedSet.h.
|
inline |
Definition at line 83 of file UnresolvedSet.h.
References begin().
Referenced by clang::LookupResult::addAllDecls(), clang::Sema::AddFunctionCandidates(), clang::Sema::AddNonMemberOperatorCandidates(), begin(), clang::LookupResult::begin(), buildDeclareReductionRef(), buildUserDefinedMapperRef(), clang::ASTImporter::Import(), IsOverloaded(), noteOverloads(), notePlausibleOverloads(), clang::ASTNodeImporter::VisitUnresolvedLookupExpr(), and clang::ASTNodeImporter::VisitUnresolvedMemberExpr().
|
inline |
|
inline |
Definition at line 123 of file UnresolvedSet.h.
Referenced by clang::LookupResult::clear(), and clang::Sema::tryExprAsCall().
|
inline |
Definition at line 126 of file UnresolvedSet.h.
Referenced by clang::Sema::CreateOverloadedBinOp(), 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::LookupResult::addAllDecls(), clang::Sema::AddFunctionCandidates(), clang::Sema::AddNonMemberOperatorCandidates(), buildDeclareReductionRef(), buildUserDefinedMapperRef(), end(), clang::LookupResult::end(), clang::ASTImporter::Import(), noteOverloads(), notePlausibleOverloads(), clang::ASTNodeImporter::VisitUnresolvedLookupExpr(), and clang::ASTNodeImporter::VisitUnresolvedMemberExpr().
|
inline |
|
inline |
Definition at line 117 of file UnresolvedSet.h.
Referenced by clang::LookupResult::Filter::erase().
|
inline |
Definition at line 119 of file UnresolvedSet.h.
|
inline |
Definition at line 133 of file UnresolvedSet.h.
|
inline |
Definition at line 134 of file UnresolvedSet.h.
|
inline |
Definition at line 89 of file UnresolvedSet.h.
Replaces the given declaration with the new one, once.
Definition at line 102 of file UnresolvedSet.h.
Referenced by clang::LookupResult::Filter::replace().
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 124 of file UnresolvedSet.h.
|
inline |
Definition at line 121 of file UnresolvedSet.h.
References clang::Decl::setAccess().
|
inline |
Definition at line 127 of file UnresolvedSet.h.
Referenced by collectViableConversionCandidates(), diagnoseAmbiguousConversion(), diagnoseNoViableConversion(), IsOverloaded(), and clang::Sema::PerformContextualImplicitConversion().
|
friend |
Definition at line 67 of file UnresolvedSet.h.