|
clang 22.0.0git
|
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 & | operator= (Filter &&)=delete |
| Filter (const Filter &)=delete | |
| Filter & | operator= (const Filter &)=delete |
| ~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) |
| Replaces the current entry with the given one, preserving the access bits. | |
| 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.
|
delete |
|
inline |
Definition at line 741 of file Lookup.h.
Referenced by clang::Sema::ActOnTag(), buildSingleCopyAssignRecursively(), clang::Sema::CheckDependentFunctionTemplateSpecialization(), clang::Sema::DiagnoseAmbiguousLookup(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), clang::Sema::FilterUsingLookup(), clang::Sema::getDestructorName(), clang::Sema::LookupLiteralOperator(), RemoveLookupResult(), and RemoveUsingDecls().
|
inline |
Erase the last element returned from this iterator.
Definition at line 723 of file Lookup.h.
Referenced by clang::Sema::ActOnTag(), buildSingleCopyAssignRecursively(), clang::Sema::CheckDependentFunctionTemplateSpecialization(), clang::Sema::DiagnoseAmbiguousLookup(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), clang::Sema::FilterUsingLookup(), clang::Sema::getDestructorName(), clang::Sema::LookupLiteralOperator(), RemoveLookupResult(), and RemoveUsingDecls().
|
inline |
Definition at line 708 of file Lookup.h.
Referenced by clang::Sema::ActOnTag(), buildSingleCopyAssignRecursively(), clang::Sema::CheckDependentFunctionTemplateSpecialization(), clang::Sema::DiagnoseAmbiguousLookup(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), clang::Sema::FilterUsingLookup(), clang::Sema::getDestructorName(), clang::Sema::LookupLiteralOperator(), RemoveLookupResult(), and RemoveUsingDecls().
|
inline |
Definition at line 712 of file Lookup.h.
Referenced by clang::Sema::ActOnTag(), buildSingleCopyAssignRecursively(), clang::Sema::CheckDependentFunctionTemplateSpecialization(), clang::Sema::DiagnoseAmbiguousLookup(), clang::Sema::FilterAcceptableTemplateNames(), clang::Sema::FilterLookupForScope(), clang::Sema::FilterUsingLookup(), clang::Sema::getDestructorName(), clang::Sema::LookupLiteralOperator(), RemoveLookupResult(), and RemoveUsingDecls().
|
inline |
|
inline |
|
inline |
Restart the iteration.
Definition at line 718 of file Lookup.h.
Referenced by clang::Sema::LookupLiteralOperator().
|
friend |
Definition at line 678 of file Lookup.h.
References clang::LookupResult::begin(), and LookupResult.
Referenced by LookupResult.