clang
3.9.0
|
A class for iterating through a result set and possibly filtering out results. More...
#include <Lookup.h>
Public Member Functions | |
Filter (Filter &&F) | |
~Filter () | |
bool | hasNext () const |
NamedDecl * | next () |
void | restart () |
Restart the iteration. More... | |
void | erase () |
Erase the last element returned from this iterator. More... | |
void | replace (NamedDecl *D) |
Replaces the current entry with the given one, preserving the access bits. More... | |
void | replace (NamedDecl *D, AccessSpecifier AS) |
Replaces the current entry with the given one. More... | |
void | done () |
Friends | |
class | LookupResult |
A class for iterating through a result set and possibly filtering out results.
The results returned are possibly sugared.
Definition at line 600 of file Sema/Lookup.h.
|
inline |
Definition at line 612 of file Sema/Lookup.h.
|
inline |
Definition at line 617 of file Sema/Lookup.h.
|
inline |
Definition at line 655 of file Sema/Lookup.h.
References clang::LookupResult::resolveKindAfterFilter().
Referenced by clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnOpenMPDeclareReductionDirectiveStart(), clang::Sema::ActOnTag(), buildSingleCopyAssignRecursively(), clang::Sema::BuildUsingDeclaration(), clang::Sema::CheckDependentFunctionTemplateSpecialization(), clang::Sema::DiagnoseAmbiguousLookup(), doesUsualArrayDeleteWantSize(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), filterNonConflictingPreviousTypedefDecls(), and RemoveUsingDecls().
|
inline |
Erase the last element returned from this iterator.
Definition at line 637 of file Sema/Lookup.h.
References clang::UnresolvedSetImpl::erase(), and I.
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(), filterNonConflictingPreviousTypedefDecls(), and RemoveUsingDecls().
|
inline |
Definition at line 622 of file Sema/Lookup.h.
References clang::LookupResult::end(), and I.
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(), filterNonConflictingPreviousTypedefDecls(), and RemoveUsingDecls().
|
inline |
Definition at line 626 of file Sema/Lookup.h.
References clang::LookupResult::end(), and I.
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(), filterNonConflictingPreviousTypedefDecls(), and RemoveUsingDecls().
|
inline |
Replaces the current entry with the given one, preserving the access bits.
Definition at line 644 of file Sema/Lookup.h.
References I, and clang::UnresolvedSetImpl::replace().
Referenced by clang::Sema::FilterAcceptableTemplateNames().
|
inline |
Replaces the current entry with the given one.
Definition at line 650 of file Sema/Lookup.h.
References I, and clang::UnresolvedSetImpl::replace().
|
inline |
Restart the iteration.
Definition at line 632 of file Sema/Lookup.h.
References clang::LookupResult::begin(), and I.
|
friend |
Definition at line 606 of file Sema/Lookup.h.