Logo ROOT  
Reference Guide
TClingCallbacks Class Reference

Definition at line 38 of file TClingCallbacks.h.

Public Member Functions

 TClingCallbacks (cling::Interpreter *interp, bool hasCodeGen)
 
 ~TClingCallbacks ()
 
virtual void DeclDeserialized (const clang::Decl *D)
 
virtual void DefinitionShadowed (const clang::NamedDecl *D)
 A previous definition has been shadowed; invalidate TCling' stored data about the old (global) decl. More...
 
virtual voidEnteringUserCode ()
 
virtual bool FileNotFound (llvm::StringRef FileName, llvm::SmallVectorImpl< char > &RecoveryPath)
 
virtual void InclusionDirective (clang::SourceLocation, const clang::Token &, llvm::StringRef FileName, bool, clang::CharSourceRange, const clang::FileEntry *, llvm::StringRef, llvm::StringRef, const clang::Module *)
 
void Initialize ()
 
bool IsAutoloadingEnabled ()
 
bool IsAutoParsingSuspended ()
 
virtual void LibraryLoaded (const void *dyLibHandle, llvm::StringRef canonicalName)
 
virtual bool LibraryLoadingFailed (const std::string &, const std::string &, bool, bool)
 
virtual void LibraryUnloaded (const void *dyLibHandle, llvm::StringRef canonicalName)
 
virtual voidLockCompilationDuringUserCodeExecution ()
 
virtual bool LookupObject (clang::LookupResult &R, clang::Scope *S)
 
virtual bool LookupObject (clang::TagDecl *Tag)
 
virtual bool LookupObject (const clang::DeclContext *DC, clang::DeclarationName Name)
 
virtual void PrintStackTrace ()
 
virtual void ReturnedFromUserCode (void *stateInfo)
 
void SetAutoloadingEnabled (bool val=true)
 
void SetAutoParsingSuspended (bool val=true)
 
virtual void TransactionCommitted (const cling::Transaction &T)
 
virtual void TransactionRollback (const cling::Transaction &T)
 
virtual void TransactionUnloaded (const cling::Transaction &T)
 
virtual void UnlockCompilationDuringUserCodeExecution (void *StateInfo)
 

Private Member Functions

bool shouldResolveAtRuntime (clang::LookupResult &R, clang::Scope *S)
 
bool tryAutoParseInternal (llvm::StringRef Name, clang::LookupResult &R, clang::Scope *S, const clang::FileEntry *FE=0)
 
bool tryFindROOTSpecialInternal (clang::LookupResult &R, clang::Scope *S)
 
bool tryInjectImplicitAutoKeyword (clang::LookupResult &R, clang::Scope *S)
 
bool tryResolveAtRuntimeInternal (clang::LookupResult &R, clang::Scope *S)
 

Private Attributes

bool fFirstRun
 
bool fIsAutoloading
 
bool fIsAutoloadingRecursively
 
bool fIsAutoParsingSuspended
 
voidfLastLookupCtx
 
bool fPPChanged
 
bool fPPOldFlag
 
clang::NamespaceDecl * fROOTSpecialNamespace
 

#include </home/sftnight/build/workspace/root-makedoc-v620/rootspi/rdoc/src/v6-20-00-patches/core/metacling/src/TClingCallbacks.h>

Inheritance diagram for TClingCallbacks:
[legend]

Constructor & Destructor Documentation

◆ TClingCallbacks()

TClingCallbacks::TClingCallbacks ( cling::Interpreter *  interp,
bool  hasCodeGen 
)

Definition at line 80 of file TClingCallbacks.cxx.

◆ ~TClingCallbacks()

TClingCallbacks::~TClingCallbacks ( )

Definition at line 93 of file TClingCallbacks.cxx.

Member Function Documentation

◆ DeclDeserialized()

void TClingCallbacks::DeclDeserialized ( const clang::Decl *  D)
virtual

Definition at line 826 of file TClingCallbacks.cxx.

◆ DefinitionShadowed()

void TClingCallbacks::DefinitionShadowed ( const clang::NamedDecl *  D)
virtual

A previous definition has been shadowed; invalidate TCling' stored data about the old (global) decl.

Definition at line 822 of file TClingCallbacks.cxx.

◆ EnteringUserCode()

void * TClingCallbacks::EnteringUserCode ( )
virtual

Definition at line 853 of file TClingCallbacks.cxx.

◆ FileNotFound()

bool TClingCallbacks::FileNotFound ( llvm::StringRef  FileName,
llvm::SmallVectorImpl< char > &  RecoveryPath 
)
virtual

Definition at line 147 of file TClingCallbacks.cxx.

◆ InclusionDirective()

void TClingCallbacks::InclusionDirective ( clang::SourceLocation  sLoc,
const clang::Token &  ,
llvm::StringRef  FileName,
bool  ,
clang::CharSourceRange  ,
const clang::FileEntry *  FE,
llvm::StringRef  ,
llvm::StringRef  ,
const clang::Module *  Imported 
)
virtual

Definition at line 95 of file TClingCallbacks.cxx.

◆ Initialize()

void TClingCallbacks::Initialize ( )

Definition at line 782 of file TClingCallbacks.cxx.

◆ IsAutoloadingEnabled()

bool TClingCallbacks::IsAutoloadingEnabled ( )
inline

Definition at line 56 of file TClingCallbacks.h.

◆ IsAutoParsingSuspended()

bool TClingCallbacks::IsAutoParsingSuspended ( )
inline

Definition at line 59 of file TClingCallbacks.h.

◆ LibraryLoaded()

void TClingCallbacks::LibraryLoaded ( const void dyLibHandle,
llvm::StringRef  canonicalName 
)
virtual

Definition at line 839 of file TClingCallbacks.cxx.

◆ LibraryLoadingFailed()

bool TClingCallbacks::LibraryLoadingFailed ( const std::string &  errmessage,
const std::string &  libStem,
bool  permanent,
bool  resolved 
)
virtual

Definition at line 139 of file TClingCallbacks.cxx.

◆ LibraryUnloaded()

void TClingCallbacks::LibraryUnloaded ( const void dyLibHandle,
llvm::StringRef  canonicalName 
)
virtual

Definition at line 844 of file TClingCallbacks.cxx.

◆ LockCompilationDuringUserCodeExecution()

void * TClingCallbacks::LockCompilationDuringUserCodeExecution ( )
virtual

Definition at line 866 of file TClingCallbacks.cxx.

◆ LookupObject() [1/3]

virtual bool TClingCallbacks::LookupObject ( clang::LookupResult &  R,
clang::Scope *  S 
)
virtual

◆ LookupObject() [2/3]

bool TClingCallbacks::LookupObject ( clang::TagDecl *  Tag)
virtual

Definition at line 343 of file TClingCallbacks.cxx.

◆ LookupObject() [3/3]

virtual bool TClingCallbacks::LookupObject ( const clang::DeclContext *  DC,
clang::DeclarationName  Name 
)
virtual

◆ PrintStackTrace()

void TClingCallbacks::PrintStackTrace ( )
virtual

Definition at line 849 of file TClingCallbacks.cxx.

◆ ReturnedFromUserCode()

void TClingCallbacks::ReturnedFromUserCode ( void stateInfo)
virtual

Definition at line 861 of file TClingCallbacks.cxx.

◆ SetAutoloadingEnabled()

void TClingCallbacks::SetAutoloadingEnabled ( bool  val = true)
inline

Definition at line 55 of file TClingCallbacks.h.

◆ SetAutoParsingSuspended()

void TClingCallbacks::SetAutoParsingSuspended ( bool  val = true)
inline

Definition at line 58 of file TClingCallbacks.h.

◆ shouldResolveAtRuntime()

bool TClingCallbacks::shouldResolveAtRuntime ( clang::LookupResult &  R,
clang::Scope *  S 
)
private

Definition at line 658 of file TClingCallbacks.cxx.

◆ TransactionCommitted()

void TClingCallbacks::TransactionCommitted ( const cling::Transaction &  T)
virtual

Definition at line 797 of file TClingCallbacks.cxx.

◆ TransactionRollback()

void TClingCallbacks::TransactionRollback ( const cling::Transaction &  T)
virtual

Definition at line 815 of file TClingCallbacks.cxx.

◆ TransactionUnloaded()

void TClingCallbacks::TransactionUnloaded ( const cling::Transaction &  T)
virtual

Definition at line 806 of file TClingCallbacks.cxx.

◆ tryAutoParseInternal()

bool TClingCallbacks::tryAutoParseInternal ( llvm::StringRef  Name,
clang::LookupResult &  R,
clang::Scope *  S,
const clang::FileEntry *  FE = 0 
)
private

Definition at line 399 of file TClingCallbacks.cxx.

◆ tryFindROOTSpecialInternal()

bool TClingCallbacks::tryFindROOTSpecialInternal ( clang::LookupResult &  R,
clang::Scope *  S 
)
private

Definition at line 489 of file TClingCallbacks.cxx.

◆ tryInjectImplicitAutoKeyword()

bool TClingCallbacks::tryInjectImplicitAutoKeyword ( clang::LookupResult &  R,
clang::Scope *  S 
)
private

Definition at line 706 of file TClingCallbacks.cxx.

◆ tryResolveAtRuntimeInternal()

bool TClingCallbacks::tryResolveAtRuntimeInternal ( clang::LookupResult &  R,
clang::Scope *  S 
)
private

Definition at line 594 of file TClingCallbacks.cxx.

◆ UnlockCompilationDuringUserCodeExecution()

void TClingCallbacks::UnlockCompilationDuringUserCodeExecution ( void StateInfo)
virtual

Definition at line 871 of file TClingCallbacks.cxx.

Member Data Documentation

◆ fFirstRun

bool TClingCallbacks::fFirstRun
private

Definition at line 42 of file TClingCallbacks.h.

◆ fIsAutoloading

bool TClingCallbacks::fIsAutoloading
private

Definition at line 43 of file TClingCallbacks.h.

◆ fIsAutoloadingRecursively

bool TClingCallbacks::fIsAutoloadingRecursively
private

Definition at line 44 of file TClingCallbacks.h.

◆ fIsAutoParsingSuspended

bool TClingCallbacks::fIsAutoParsingSuspended
private

Definition at line 45 of file TClingCallbacks.h.

◆ fLastLookupCtx

void* TClingCallbacks::fLastLookupCtx
private

Definition at line 40 of file TClingCallbacks.h.

◆ fPPChanged

bool TClingCallbacks::fPPChanged
private

Definition at line 47 of file TClingCallbacks.h.

◆ fPPOldFlag

bool TClingCallbacks::fPPOldFlag
private

Definition at line 46 of file TClingCallbacks.h.

◆ fROOTSpecialNamespace

clang::NamespaceDecl* TClingCallbacks::fROOTSpecialNamespace
private

Definition at line 41 of file TClingCallbacks.h.


The documentation for this class was generated from the following files: