clang  3.9.0
Public Types | Public Member Functions | Friends | List of all members
clang::UnresolvedSetImpl Class Reference

A set of unresolved declarations. More...

#include <UnresolvedSet.h>

Inheritance diagram for clang::UnresolvedSetImpl:
[legend]

Public Types

typedef UnresolvedSetIterator iterator
 
typedef UnresolvedSetIterator const_iterator
 

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

Friends

template<unsigned N>
class UnresolvedSet
 

Detailed Description

A set of unresolved declarations.

Definition at line 55 of file UnresolvedSet.h.

Member Typedef Documentation

Definition at line 74 of file UnresolvedSet.h.

Definition at line 73 of file UnresolvedSet.h.

Member Function Documentation

void clang::UnresolvedSetImpl::addDecl ( NamedDecl D)
inline
void clang::UnresolvedSetImpl::addDecl ( NamedDecl D,
AccessSpecifier  AS 
)
inline

Definition at line 86 of file UnresolvedSet.h.

References clang::DeclAccessPair::make().

void clang::UnresolvedSetImpl::append ( iterator  I,
iterator  E 
)
inline
iterator clang::UnresolvedSetImpl::begin ( )
inline
const_iterator clang::UnresolvedSetImpl::begin ( ) const
inline

Definition at line 79 of file UnresolvedSet.h.

References begin().

Referenced by begin().

void clang::UnresolvedSetImpl::clear ( )
inline
bool clang::UnresolvedSetImpl::empty ( ) const
inline
iterator clang::UnresolvedSetImpl::end ( )
inline
const_iterator clang::UnresolvedSetImpl::end ( ) const
inline

Definition at line 80 of file UnresolvedSet.h.

References end().

Referenced by end().

void clang::UnresolvedSetImpl::erase ( unsigned  I)
inline

Definition at line 108 of file UnresolvedSet.h.

References I.

Referenced by clang::LookupResult::Filter::erase().

void clang::UnresolvedSetImpl::erase ( iterator  I)
inline

Definition at line 110 of file UnresolvedSet.h.

DeclAccessPair& clang::UnresolvedSetImpl::operator[] ( unsigned  I)
inline

Definition at line 122 of file UnresolvedSet.h.

References I.

const DeclAccessPair& clang::UnresolvedSetImpl::operator[] ( unsigned  I) const
inline

Definition at line 123 of file UnresolvedSet.h.

References I.

bool clang::UnresolvedSetImpl::replace ( const NamedDecl Old,
NamedDecl New 
)
inline

Replaces the given declaration with the new one, once.

Returns
true if the set changed

Definition at line 93 of file UnresolvedSet.h.

References begin(), E, end(), and I.

Referenced by clang::LookupResult::Filter::replace().

void clang::UnresolvedSetImpl::replace ( iterator  I,
NamedDecl New 
)
inline

Replaces the declaration at the given iterator with the new one, preserving the original access bits.

Definition at line 102 of file UnresolvedSet.h.

void clang::UnresolvedSetImpl::replace ( iterator  I,
NamedDecl New,
AccessSpecifier  AS 
)
inline

Definition at line 104 of file UnresolvedSet.h.

void clang::UnresolvedSetImpl::set_size ( unsigned  N)
inline

Definition at line 115 of file UnresolvedSet.h.

void clang::UnresolvedSetImpl::setAccess ( iterator  I,
AccessSpecifier  AS 
)
inline

Definition at line 112 of file UnresolvedSet.h.

unsigned clang::UnresolvedSetImpl::size ( ) const
inline

Friends And Related Function Documentation

template<unsigned N>
friend class UnresolvedSet
friend

Definition at line 61 of file UnresolvedSet.h.


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