clang 20.0.0git
|
An UnresolvedSet-like class which uses the ASTContext's allocator. More...
#include "clang/AST/ASTUnresolvedSet.h"
Public Types | |
using | iterator = UnresolvedSetIterator |
using | const_iterator = UnresolvedSetIterator |
Public Member Functions | |
ASTUnresolvedSet ()=default | |
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) |
void | addLazyDecl (ASTContext &C, GlobalDeclID ID, AccessSpecifier AS) |
bool | replace (const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) |
Replaces the given declaration with the new one, once. | |
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 30 of file ASTUnresolvedSet.h.
Definition at line 48 of file ASTUnresolvedSet.h.
Definition at line 47 of file ASTUnresolvedSet.h.
|
default |
|
inline |
Definition at line 45 of file ASTUnresolvedSet.h.
|
inline |
Definition at line 56 of file ASTUnresolvedSet.h.
References clang::C, D, and clang::DeclAccessPair::make().
Referenced by CollectVisibleConversions().
|
inline |
Definition at line 60 of file ASTUnresolvedSet.h.
References clang::C, ID, and clang::DeclAccessPair::makeLazy().
Referenced by clang::LazyASTUnresolvedSet::addLazyDecl().
|
inline |
Definition at line 93 of file ASTUnresolvedSet.h.
Referenced by CollectVisibleConversions().
|
inline |
Definition at line 50 of file ASTUnresolvedSet.h.
|
inline |
Definition at line 53 of file ASTUnresolvedSet.h.
|
inline |
Definition at line 84 of file ASTUnresolvedSet.h.
|
inline |
Definition at line 86 of file ASTUnresolvedSet.h.
Referenced by clang::LazyASTUnresolvedSet::addLazyDecl().
|
inline |
Definition at line 51 of file ASTUnresolvedSet.h.
|
inline |
Definition at line 54 of file ASTUnresolvedSet.h.
|
inline |
Definition at line 77 of file ASTUnresolvedSet.h.
Referenced by clang::CXXRecordDecl::removeConversion().
|
inline |
Definition at line 97 of file ASTUnresolvedSet.h.
|
inline |
Definition at line 98 of file ASTUnresolvedSet.h.
|
inline |
Replaces the given declaration with the new one, once.
Definition at line 67 of file ASTUnresolvedSet.h.
References E.
|
inline |
Definition at line 89 of file ASTUnresolvedSet.h.
References clang::C.
Referenced by clang::LazyASTUnresolvedSet::reserve().
|
inline |
Definition at line 87 of file ASTUnresolvedSet.h.
Referenced by clang::CXXRecordDecl::removeConversion().
|
friend |
Definition at line 31 of file ASTUnresolvedSet.h.