clang
3.9.0
|
A set of unresolved declarations. More...
#include <UnresolvedSet.h>
Public Types | |
typedef UnresolvedSetIterator | iterator |
typedef UnresolvedSetIterator | const_iterator |
Public Member Functions | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () 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) |
DeclAccessPair & | operator[] (unsigned I) |
const DeclAccessPair & | operator[] (unsigned I) const |
Friends | |
template<unsigned N> | |
class | UnresolvedSet |
A set of unresolved declarations.
Definition at line 55 of file UnresolvedSet.h.
Definition at line 74 of file UnresolvedSet.h.
Definition at line 73 of file UnresolvedSet.h.
|
inline |
Definition at line 82 of file UnresolvedSet.h.
References clang::AS_none.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::LookupResult::addDecl(), buildDeclareReductionRef(), clang::Sema::CheckFunctionTemplateSpecialization(), CollectVisibleConversions(), clang::ASTImporter::Import(), notePlausibleOverloads(), clang::Sema::PerformContextualImplicitConversion(), clang::ASTReader::ReadTemplateName(), clang::TreeTransform< Derived >::RebuildCXXOperatorCallExpr(), clang::Sema::tryExprAsCall(), and clang::ASTDeclReader::VisitFunctionDecl().
|
inline |
Definition at line 86 of file UnresolvedSet.h.
References clang::DeclAccessPair::make().
Definition at line 120 of file UnresolvedSet.h.
Referenced by clang::LookupResult::addAllDecls(), buildDeclareReductionRef(), clang::Sema::CodeCompleteCall(), clang::Sema::LookupOverloadedOperatorName(), and clang::TreeTransform< Derived >::RebuildCXXOperatorCallExpr().
|
inline |
Definition at line 76 of file UnresolvedSet.h.
References begin().
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::LookupResult::addAllDecls(), clang::Sema::AddFunctionCandidates(), begin(), clang::LookupResult::begin(), buildDeclareReductionRef(), clang::Sema::BuildForRangeBeginEndCall(), clang::Sema::CheckFunctionTemplateSpecialization(), CollectVisibleConversions(), clang::Sema::CreateOverloadedBinOp(), clang::Sema::CreateOverloadedUnaryOp(), clang::ASTImporter::Import(), IsOverloaded(), noteOverloads(), notePlausibleOverloads(), clang::ASTReader::ReadTemplateName(), and replace().
|
inline |
|
inline |
Definition at line 114 of file UnresolvedSet.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::LookupResult::clear(), and clang::Sema::tryExprAsCall().
|
inline |
Definition at line 117 of file UnresolvedSet.h.
Referenced by clang::Sema::CreateOverloadedBinOp(), clang::Sema::CreateOverloadedUnaryOp(), clang::LookupResult::empty(), clang::LookupResult::getRepresentativeDecl(), clang::LookupResult::resolveKindAfterFilter(), and clang::LookupResult::setNotFoundInCurrentInstantiation().
|
inline |
Definition at line 77 of file UnresolvedSet.h.
References end().
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::LookupResult::addAllDecls(), clang::Sema::AddFunctionCandidates(), buildDeclareReductionRef(), clang::Sema::BuildForRangeBeginEndCall(), clang::Sema::CheckFunctionTemplateSpecialization(), CollectVisibleConversions(), clang::Sema::CreateOverloadedBinOp(), clang::Sema::CreateOverloadedUnaryOp(), end(), clang::LookupResult::end(), clang::ASTImporter::Import(), noteOverloads(), notePlausibleOverloads(), clang::ASTReader::ReadTemplateName(), and replace().
|
inline |
|
inline |
Definition at line 108 of file UnresolvedSet.h.
References I.
Referenced by clang::LookupResult::Filter::erase().
|
inline |
Definition at line 110 of file UnresolvedSet.h.
|
inline |
Definition at line 122 of file UnresolvedSet.h.
References I.
|
inline |
Definition at line 123 of file UnresolvedSet.h.
References I.
Replaces the given declaration with the new one, once.
Definition at line 93 of file UnresolvedSet.h.
References begin(), E, end(), and I.
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 102 of file UnresolvedSet.h.
|
inline |
Definition at line 104 of file UnresolvedSet.h.
|
inline |
Definition at line 115 of file UnresolvedSet.h.
|
inline |
Definition at line 112 of file UnresolvedSet.h.
|
inline |
Definition at line 118 of file UnresolvedSet.h.
Referenced by collectViableConversionCandidates(), clang::DependentFunctionTemplateSpecializationInfo::Create(), diagnoseAmbiguousConversion(), diagnoseNoViableConversion(), IsOverloaded(), and clang::Sema::PerformContextualImplicitConversion().
|
friend |
Definition at line 61 of file UnresolvedSet.h.