clang API Documentation
An UnresolvedSet-like class which uses the ASTContext's allocator. More...
#include <ASTUnresolvedSet.h>
Classes | |
struct | DeclsTy |
Public Types | |
typedef UnresolvedSetIterator | iterator |
typedef UnresolvedSetIterator | const_iterator |
Public Member Functions | |
ASTUnresolvedSet () | |
ASTUnresolvedSet (ASTContext &C, unsigned N) | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | addDecl (ASTContext &C, NamedDecl *D, AccessSpecifier AS) |
bool | replace (const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) |
void | erase (unsigned I) |
void | clear () |
bool | empty () const |
unsigned | size () const |
void | reserve (ASTContext &C, unsigned N) |
void | append (ASTContext &C, iterator I, iterator E) |
DeclAccessPair & | operator[] (unsigned I) |
const DeclAccessPair & | operator[] (unsigned I) const |
Friends | |
class | LazyASTUnresolvedSet |
An UnresolvedSet-like class which uses the ASTContext's allocator.
Definition at line 24 of file ASTUnresolvedSet.h.
Definition at line 42 of file ASTUnresolvedSet.h.
Definition at line 41 of file ASTUnresolvedSet.h.
clang::ASTUnresolvedSet::ASTUnresolvedSet | ( | ) | [inline] |
Definition at line 38 of file ASTUnresolvedSet.h.
clang::ASTUnresolvedSet::ASTUnresolvedSet | ( | ASTContext & | C, |
unsigned | N | ||
) | [inline] |
Definition at line 39 of file ASTUnresolvedSet.h.
void clang::ASTUnresolvedSet::addDecl | ( | ASTContext & | C, |
NamedDecl * | D, | ||
AccessSpecifier | AS | ||
) | [inline] |
Definition at line 50 of file ASTUnresolvedSet.h.
References clang::DeclAccessPair::make().
Referenced by clang::LazyASTUnresolvedSet::addLazyDecl(), and CollectVisibleConversions().
void clang::ASTUnresolvedSet::append | ( | ASTContext & | C, |
iterator | I, | ||
iterator | E | ||
) | [inline] |
Definition at line 78 of file ASTUnresolvedSet.h.
Referenced by CollectVisibleConversions().
iterator clang::ASTUnresolvedSet::begin | ( | ) | [inline] |
Definition at line 44 of file ASTUnresolvedSet.h.
Referenced by clang::ASTWriter::AddUnresolvedSet(), clang::CXXRecordDecl::getVisibleConversionFunctions(), and clang::CXXRecordDecl::removeConversion().
const_iterator clang::ASTUnresolvedSet::begin | ( | ) | const [inline] |
Definition at line 47 of file ASTUnresolvedSet.h.
void clang::ASTUnresolvedSet::clear | ( | ) | [inline] |
Definition at line 69 of file ASTUnresolvedSet.h.
bool clang::ASTUnresolvedSet::empty | ( | ) | const [inline] |
Definition at line 71 of file ASTUnresolvedSet.h.
Referenced by clang::LazyASTUnresolvedSet::addLazyDecl().
iterator clang::ASTUnresolvedSet::end | ( | ) | [inline] |
Definition at line 45 of file ASTUnresolvedSet.h.
Referenced by clang::ASTWriter::AddUnresolvedSet(), clang::CXXRecordDecl::getVisibleConversionFunctions(), and clang::CXXRecordDecl::removeConversion().
const_iterator clang::ASTUnresolvedSet::end | ( | ) | const [inline] |
Definition at line 48 of file ASTUnresolvedSet.h.
void clang::ASTUnresolvedSet::erase | ( | unsigned | I | ) | [inline] |
Definition at line 67 of file ASTUnresolvedSet.h.
Referenced by clang::CXXRecordDecl::removeConversion().
DeclAccessPair& clang::ASTUnresolvedSet::operator[] | ( | unsigned | I | ) | [inline] |
Definition at line 82 of file ASTUnresolvedSet.h.
const DeclAccessPair& clang::ASTUnresolvedSet::operator[] | ( | unsigned | I | ) | const [inline] |
Definition at line 83 of file ASTUnresolvedSet.h.
bool clang::ASTUnresolvedSet::replace | ( | const NamedDecl * | Old, |
NamedDecl * | New, | ||
AccessSpecifier | AS | ||
) | [inline] |
Replaces the given declaration with the new one, once.
Definition at line 57 of file ASTUnresolvedSet.h.
void clang::ASTUnresolvedSet::reserve | ( | ASTContext & | C, |
unsigned | N | ||
) | [inline] |
Definition at line 74 of file ASTUnresolvedSet.h.
Referenced by clang::LazyASTUnresolvedSet::reserve().
unsigned clang::ASTUnresolvedSet::size | ( | ) | const [inline] |
Definition at line 72 of file ASTUnresolvedSet.h.
Referenced by clang::ASTWriter::AddUnresolvedSet(), and clang::CXXRecordDecl::removeConversion().
friend class LazyASTUnresolvedSet [friend] |
Definition at line 35 of file ASTUnresolvedSet.h.