clang API Documentation

Public Member Functions | Friends
clang::LookupResult::Filter Class Reference

#include <Lookup.h>

List of all members.

Public Member Functions

 ~Filter ()
bool hasNext () const
NamedDeclnext ()
void restart ()
 Restart the iteration.
void erase ()
 Erase the last element returned from this iterator.
void replace (NamedDecl *D)
void replace (NamedDecl *D, AccessSpecifier AS)
 Replaces the current entry with the given one.
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 559 of file Lookup.h.


Constructor & Destructor Documentation

Definition at line 571 of file Lookup.h.


Member Function Documentation

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

Definition at line 598 of file Lookup.h.

References clang::UnresolvedSetImpl::replace().

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

Replaces the current entry with the given one.

Definition at line 604 of file Lookup.h.

References clang::UnresolvedSetImpl::replace().

Restart the iteration.

Definition at line 586 of file Lookup.h.

References clang::LookupResult::begin().


Friends And Related Function Documentation

friend class LookupResult [friend]

Definition at line 565 of file Lookup.h.


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