clang API Documentation

Classes | Public Types | Public Member Functions | Friends
clang::ASTUnresolvedSet Class Reference

An UnresolvedSet-like class which uses the ASTContext's allocator. More...

#include <ASTUnresolvedSet.h>

List of all members.

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)
DeclAccessPairoperator[] (unsigned I)
const DeclAccessPairoperator[] (unsigned I) const

Friends

class LazyASTUnresolvedSet

Detailed Description

An UnresolvedSet-like class which uses the ASTContext's allocator.

Definition at line 24 of file ASTUnresolvedSet.h.


Member Typedef Documentation

Definition at line 42 of file ASTUnresolvedSet.h.

Definition at line 41 of file ASTUnresolvedSet.h.


Constructor & Destructor Documentation

Definition at line 38 of file ASTUnresolvedSet.h.

Definition at line 39 of file ASTUnresolvedSet.h.


Member Function Documentation

void clang::ASTUnresolvedSet::addDecl ( ASTContext C,
NamedDecl D,
AccessSpecifier  AS 
) [inline]
void clang::ASTUnresolvedSet::append ( ASTContext C,
iterator  I,
iterator  E 
) [inline]

Definition at line 78 of file ASTUnresolvedSet.h.

Referenced by CollectVisibleConversions().

Definition at line 47 of file ASTUnresolvedSet.h.

void clang::ASTUnresolvedSet::clear ( ) [inline]

Definition at line 69 of file ASTUnresolvedSet.h.

Definition at line 71 of file ASTUnresolvedSet.h.

Referenced by clang::LazyASTUnresolvedSet::addLazyDecl().

Definition at line 48 of file ASTUnresolvedSet.h.

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.

Returns:
true if the set changed

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().


Friends And Related Function Documentation

friend class LazyASTUnresolvedSet [friend]

Definition at line 35 of file ASTUnresolvedSet.h.


The documentation for this class was generated from the following file: