clang
7.0.0
|
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 |
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 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 89 of file UnresolvedSet.h.
References clang::AS_none.
Referenced by clang::LookupResult::addDecl(), buildDeclareReductionRef(), clang::TreeTransform< Derived >::RebuildCXXOperatorCallExpr(), and clang::ASTDeclReader::VisitFunctionDecl().
|
inline |
Definition at line 93 of file UnresolvedSet.h.
References clang::DeclAccessPair::make().
Definition at line 127 of file UnresolvedSet.h.
Referenced by clang::LookupResult::addAllDecls(), buildDeclareReductionRef(), and clang::TreeTransform< Derived >::RebuildCXXOperatorCallExpr().
|
inline |
Definition at line 83 of file UnresolvedSet.h.
References begin().
Referenced by clang::LookupResult::addAllDecls(), clang::Sema::AddFunctionCandidates(), begin(), clang::LookupResult::begin(), buildDeclareReductionRef(), and IsOverloaded().
|
inline |
|
inline |
Definition at line 121 of file UnresolvedSet.h.
Referenced by clang::LookupResult::clear().
|
inline |
Definition at line 124 of file UnresolvedSet.h.
Referenced by 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(), buildDeclareReductionRef(), end(), and clang::LookupResult::end().
|
inline |
|
inline |
Definition at line 115 of file UnresolvedSet.h.
Referenced by clang::LookupResult::Filter::erase().
|
inline |
Definition at line 117 of file UnresolvedSet.h.
|
inline |
Definition at line 129 of file UnresolvedSet.h.
|
inline |
Definition at line 130 of file UnresolvedSet.h.
Replaces the given declaration with the new one, once.
Definition at line 100 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 109 of file UnresolvedSet.h.
|
inline |
Definition at line 111 of file UnresolvedSet.h.
|
inline |
Definition at line 122 of file UnresolvedSet.h.
|
inline |
Definition at line 119 of file UnresolvedSet.h.
|
inline |
Definition at line 125 of file UnresolvedSet.h.
Referenced by diagnoseNoViableConversion(), and IsOverloaded().
|
friend |
Definition at line 67 of file UnresolvedSet.h.