UnresolvedSetIterator, DeclAccessPair *,
34std::random_access_iterator_tag, NamedDecl *,
35std::ptrdiff_t, NamedDecl *, NamedDecl *> {
41: iterator_adaptor_base(
Iter) {}
50uint64_t
getDeclID()
const{
returnI->getDeclID(); }
103 for(DeclsTy::iterator I = decls().
begin(),
E= decls().
end(); I !=
E; ++I)
104 if(I->getDecl() == Old)
105 return(I->setDecl(New),
true);
118 autoval = decls().pop_back_val();
124 autoval = decls().pop_back_val();
132 void truncate(
unsignedN) { decls().truncate(N); }
134 bool empty()
const{
returndecls().empty(); }
135 unsigned size()
const{
returndecls().size(); }
148 return*
reinterpret_cast<DeclsTy*
>(
this);
150 constDeclsTy &decls()
const{
151 return*
reinterpret_cast<constDeclsTy*
>(
this);
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
Defines various enumerations that describe declaration and type specifiers.
An UnresolvedSet-like class which uses the ASTContext's allocator.
A POD class for pairing a NamedDecl* with an access specifier.
static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS)
void setAccess(AccessSpecifier AS)
This represents a decl that may have a name.
A reference to an overloaded function set, either an UnresolvedLookupExpr or an UnresolvedMemberExpr.
A set of unresolved declarations.
bool replace(const NamedDecl *Old, NamedDecl *New)
Replaces the given declaration with the new one, once.
DeclAccessPair & operator[](unsigned I)
const_iterator end() const
void addDecl(NamedDecl *D, AccessSpecifier AS)
const DeclAccessPair & operator[](unsigned I) const
void replace(iterator I, NamedDecl *New, AccessSpecifier AS)
void setAccess(iterator I, AccessSpecifier AS)
void replace(iterator I, NamedDecl *New)
Replaces the declaration at the given iterator with the new one, preserving the original access bits.
const_iterator begin() const
void assign(Iter I, Iter E)
ArrayRef< DeclAccessPair > pairs() const
UnresolvedSetIterator iterator
void append(iterator I, iterator E)
void truncate(unsigned N)
void addDecl(NamedDecl *D)
UnresolvedSetIterator const_iterator
The iterator over UnresolvedSets.
NamedDecl * operator->() const
NamedDecl * getDecl() const
const DeclAccessPair & getPair() const
AccessSpecifier getAccess() const
void setDecl(NamedDecl *ND) const
void setAccess(AccessSpecifier AS)
uint64_t getDeclID() const
NamedDecl * operator*() const
A set of unresolved declarations.
The JSON file list parser is used to communicate input to InstallAPI.
AccessSpecifier
A C++ access specifier (public, private, protected), plus the special value "none" which means differ...
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4