clang  3.7.0
Public Member Functions | Friends | List of all members
clang::LookupResult::Filter Class Reference

#include <Lookup.h>

Public Member Functions

 ~Filter ()
 
bool hasNext () const
 
NamedDeclnext ()
 
void restart ()
 Restart the iteration. More...
 
void erase ()
 Erase the last element returned from this iterator. More...
 
void replace (NamedDecl *D)
 
void replace (NamedDecl *D, AccessSpecifier AS)
 Replaces the current entry with the given one. More...
 
void done ()
 

Friends

class LookupResult
 

Detailed Description

A class for iterating through a result set and possibly filtering out results. The results returned are possibly sugared.

Definition at line 556 of file Lookup.h.

Constructor & Destructor Documentation

clang::LookupResult::Filter::~Filter ( )
inline

Definition at line 568 of file Lookup.h.

Member Function Documentation

void clang::LookupResult::Filter::done ( )
inline
void clang::LookupResult::Filter::erase ( )
inline
bool clang::LookupResult::Filter::hasNext ( ) const
inline
NamedDecl* clang::LookupResult::Filter::next ( )
inline
void clang::LookupResult::Filter::replace ( NamedDecl D)
inline

Replaces the current entry with the given one, preserving the access bits.

Definition at line 595 of file Lookup.h.

References clang::UnresolvedSetImpl::replace().

Referenced by clang::Sema::FilterAcceptableTemplateNames().

void clang::LookupResult::Filter::replace ( NamedDecl D,
AccessSpecifier  AS 
)
inline

Replaces the current entry with the given one.

Definition at line 601 of file Lookup.h.

References clang::UnresolvedSetImpl::replace().

void clang::LookupResult::Filter::restart ( )
inline

Restart the iteration.

Definition at line 583 of file Lookup.h.

References clang::LookupResult::begin().

Friends And Related Function Documentation

friend class LookupResult
friend

Definition at line 562 of file Lookup.h.


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