|
clang
5.0.0
|
A class for iterating through a result set and possibly filtering out results. More...
#include "clang/Sema/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.
|
inline |
Definition at line 657 of file 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(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), filterNonConflictingPreviousTypedefDecls(), and RemoveUsingDecls().
|
inline |
Erase the last element returned from this iterator.
Definition at line 639 of file 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(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), filterNonConflictingPreviousTypedefDecls(), and RemoveUsingDecls().
|
inline |
Definition at line 624 of file 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(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), filterNonConflictingPreviousTypedefDecls(), and RemoveUsingDecls().
|
inline |
Definition at line 628 of file 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(), 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 646 of file 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 652 of file Lookup.h.
References I, and clang::UnresolvedSetImpl::replace().
|
inline |
Restart the iteration.
Definition at line 634 of file Lookup.h.
References clang::LookupResult::begin(), and I.
|
friend |
1.8.6