12 #ifndef ROOT_TClingTypedefInfo 13 #define ROOT_TClingTypedefInfo 29 #include "cling/Interpreter/Interpreter.h" 30 #include "clang/AST/ASTContext.h" 31 #include "clang/AST/Decl.h" 32 #include "clang/Frontend/CompilerInstance.h" 38 namespace TMetaUtils {
39 class TNormalizedCtxt;
50 clang::DeclContext::decl_iterator
fIter;
52 std::vector<clang::DeclContext::decl_iterator>
fIterStack;
58 : fInterp(interp), fFirstTime(true), fDescend(false), fDecl(0), fTitle(
"")
60 const clang::TranslationUnitDecl *TU = fInterp->getCI()->getASTContext().getTranslationUnitDecl();
61 const clang::DeclContext *DC = llvm::cast<clang::DeclContext>(TU);
62 cling::Interpreter::PushTransactionRAII RAII(fInterp);
63 fIter = DC->decls_begin();
70 const clang::Decl *GetDecl()
const;
75 long Property()
const;
78 const char *
Name()
const;
83 #endif // ROOT_TClingTypedefInfo This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
const clang::Decl * fDecl
std::vector< clang::DeclContext::decl_iterator > fIterStack
clang::DeclContext::decl_iterator fIter
void Init(TClassEdit::TInterpreterLookupHelper *helper)
TClingTypedefInfo(cling::Interpreter *interp)
Emulation of the CINT TypedefInfo class.
cling::Interpreter * fInterp