clang API Documentation
#include <Lookup.h>
Public Member Functions | |
| ~Filter () | |
| bool | hasNext () const |
| NamedDecl * | next () |
| 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 |
A class for iterating through a result set and possibly filtering out results. The results returned are possibly sugared.
| clang::LookupResult::Filter::~Filter | ( | ) | [inline] |
| void clang::LookupResult::Filter::done | ( | ) | [inline] |
Definition at line 609 of file Lookup.h.
References clang::LookupResult::resolveKindAfterFilter().
Referenced by clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnTag(), buildSingleCopyAssignRecursively(), clang::Sema::BuildUsingDeclaration(), clang::Sema::CheckDependentFunctionTemplateSpecialization(), clang::Sema::DiagnoseAmbiguousLookup(), doesUsualArrayDeleteWantSize(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), filterNonConflictingPreviousDecls(), filterNonConflictingPreviousTypedefDecls(), and RemoveUsingDecls().
| void clang::LookupResult::Filter::erase | ( | ) | [inline] |
Erase the last element returned from this iterator.
Definition at line 591 of file Lookup.h.
References clang::UnresolvedSetImpl::erase().
Referenced by clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnTag(), buildSingleCopyAssignRecursively(), clang::Sema::BuildUsingDeclaration(), clang::Sema::CheckDependentFunctionTemplateSpecialization(), clang::Sema::DiagnoseAmbiguousLookup(), doesUsualArrayDeleteWantSize(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), filterNonConflictingPreviousDecls(), filterNonConflictingPreviousTypedefDecls(), and RemoveUsingDecls().
| bool clang::LookupResult::Filter::hasNext | ( | ) | const [inline] |
Definition at line 576 of file Lookup.h.
References clang::LookupResult::end().
Referenced by clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnTag(), buildSingleCopyAssignRecursively(), clang::Sema::BuildUsingDeclaration(), clang::Sema::CheckDependentFunctionTemplateSpecialization(), clang::Sema::DiagnoseAmbiguousLookup(), doesUsualArrayDeleteWantSize(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), filterNonConflictingPreviousDecls(), filterNonConflictingPreviousTypedefDecls(), and RemoveUsingDecls().
| NamedDecl* clang::LookupResult::Filter::next | ( | ) | [inline] |
Definition at line 580 of file Lookup.h.
References clang::LookupResult::end().
Referenced by clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnTag(), buildSingleCopyAssignRecursively(), clang::Sema::BuildUsingDeclaration(), clang::Sema::CheckDependentFunctionTemplateSpecialization(), clang::Sema::DiagnoseAmbiguousLookup(), doesUsualArrayDeleteWantSize(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), filterNonConflictingPreviousDecls(), filterNonConflictingPreviousTypedefDecls(), and RemoveUsingDecls().
| void clang::LookupResult::Filter::replace | ( | NamedDecl * | D | ) | [inline] |
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().
| void clang::LookupResult::Filter::replace | ( | NamedDecl * | D, |
| AccessSpecifier | AS | ||
| ) | [inline] |
Replaces the current entry with the given one.
Definition at line 604 of file Lookup.h.
References clang::UnresolvedSetImpl::replace().
| void clang::LookupResult::Filter::restart | ( | ) | [inline] |
Restart the iteration.
Definition at line 586 of file Lookup.h.
References clang::LookupResult::begin().
friend class LookupResult [friend] |