Iterate over all DeclT-s (or UsingShadowDecl-s pointing to DeclT-s) of a decl context, skipping those for which DerivedT::ShouldSkip(const Decl*) returns true
when invoked with the Decl.
Definition at line 111 of file TClingMemberIter.h.
Public Member Functions | |
TClingMemberIter ()=default | |
TClingMemberIter (cling::Interpreter *interp, clang::DeclContext *DC) | |
virtual const clang::Decl * | Get () const |
cling::Interpreter * | GetInterpreter () const |
void | Init () |
virtual bool | IsValid () const |
bool | Next () |
Advance to next non-skipped; return false if no next decl exists. | |
const clang::Decl * | operator* () const |
const clang::Decl * | operator-> () const |
Protected Member Functions | |
virtual clang::Decl * | AdvanceUnfiltered () |
virtual const clang::Decl * | InstantiateTemplateWithDefaults (const clang::RedeclarableTemplateDecl *TD) const |
virtual bool | ShouldSkip (const clang::Decl *D) const =0 |
virtual bool | ShouldSkip (const clang::UsingShadowDecl *USD) const |
Private Member Functions | |
bool | Advance () |
const clang::Decl * | GetDeclSlow () const |
Private Attributes | |
ClingMemberIterInternal::DCIter | fDCIter |
cling::Interpreter * | fInterp = nullptr |
const clang::Decl * | fTemplateSpec |
ClingMemberIterInternal::UsingDeclIter | fUsingDeclIter |
|
default |
|
inline |
Definition at line 145 of file TClingMemberIter.h.
|
private |
Definition at line 123 of file TClingMemberIter.cxx.
|
inlineprotectedvirtual |
Reimplemented in TClingCXXRecMethIter.
Definition at line 124 of file TClingMemberIter.h.
|
inlinevirtual |
Reimplemented in TClingCXXRecMethIter.
Definition at line 163 of file TClingMemberIter.h.
|
private |
|
inline |
Definition at line 180 of file TClingMemberIter.h.
|
inline |
Definition at line 147 of file TClingMemberIter.h.
|
inlineprotectedvirtual |
Reimplemented in TClingCXXRecMethIter.
Definition at line 133 of file TClingMemberIter.h.
|
inlinevirtual |
Reimplemented in TClingCXXRecMethIter.
Definition at line 178 of file TClingMemberIter.h.
|
inline |
Advance to next non-skipped; return false if no next decl exists.
Definition at line 156 of file TClingMemberIter.h.
|
inline |
Definition at line 176 of file TClingMemberIter.h.
|
inline |
Definition at line 174 of file TClingMemberIter.h.
|
protectedpure virtual |
Implemented in TClingDataMemberIter, and TClingCXXRecMethIter.
|
inlineprotectedvirtual |
Reimplemented in TClingDataMemberIter, and TClingCXXRecMethIter.
Definition at line 140 of file TClingMemberIter.h.
|
private |
Definition at line 116 of file TClingMemberIter.h.
|
private |
Definition at line 113 of file TClingMemberIter.h.
|
private |
Definition at line 114 of file TClingMemberIter.h.
|
private |
Definition at line 117 of file TClingMemberIter.h.