clang 20.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 739 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 721 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 706 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 710 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 716 of file Lookup.h.
Referenced by clang::Sema::LookupLiteralOperator().
|
friend |