16#include "cling/Interpreter/DynamicLibraryManager.h"
17#include "cling/Interpreter/Interpreter.h"
18#include "cling/Interpreter/InterpreterCallbacks.h"
19#include "cling/Interpreter/Transaction.h"
20#include "cling/Utils/AST.h"
22#include "clang/AST/ASTConsumer.h"
23#include "clang/AST/ASTContext.h"
24#include "clang/AST/DeclBase.h"
25#include "clang/AST/DeclTemplate.h"
26#include "clang/AST/GlobalDecl.h"
27#include "clang/Frontend/CompilerInstance.h"
28#include "clang/Lex/HeaderSearch.h"
29#include "clang/Lex/PPCallbacks.h"
30#include "clang/Lex/Preprocessor.h"
31#include "clang/Parse/Parser.h"
32#include "clang/Sema/Lookup.h"
33#include "clang/Sema/Scope.h"
34#include "clang/Serialization/ASTReader.h"
35#include "clang/Serialization/GlobalModuleIndex.h"
37#include "llvm/ExecutionEngine/Orc/Core.h"
39#include "llvm/Support/Error.h"
40#include "llvm/Support/FileSystem.h"
41#include "llvm/Support/Path.h"
42#include "llvm/Support/Process.h"
70 std::string &args, std::string &io, std::string &fname);
74 llvm::StringRef canonicalName);
76 llvm::StringRef canonicalName);
91 StringRef
getName()
const override {
return "<Symbols from Autoloaded Library>"; }
93 void materialize(std::unique_ptr<llvm::orc::MaterializationResponsibility>
R)
override
95 llvm::orc::SymbolMap loadedSymbols;
96 llvm::orc::SymbolNameSet failedSymbols;
97 bool loadedLibrary =
false;
100 std::string symbolStr = (*symbol).str();
104 void *addr = llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(nameForDlsym);
106 if (!addr && !loadedLibrary) {
114 loadedLibrary =
true;
116 addr = llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(nameForDlsym);
120 loadedSymbols[symbol] =
121 llvm::JITEvaluatedSymbol(llvm::pointerToJITTargetAddress(addr), llvm::JITSymbolFlags::Exported);
126 failedSymbols.insert(symbol);
130 if (!failedSymbols.empty()) {
131 auto failingMR =
R->delegate(failedSymbols);
133 (*failingMR)->failMaterialization();
137 if (!loadedSymbols.empty()) {
138 llvm::cantFail(
R->notifyResolved(loadedSymbols));
139 llvm::cantFail(
R->notifyEmitted());
143 void discard(
const llvm::orc::JITDylib &JD,
const llvm::orc::SymbolStringPtr &Name)
override {}
148 llvm::orc::SymbolFlagsMap map;
149 for (
auto symbolName : Symbols)
150 map[symbolName] = llvm::JITSymbolFlags::Exported;
162 llvm::Error
tryToGenerate(llvm::orc::LookupState &LS, llvm::orc::LookupKind K, llvm::orc::JITDylib &JD,
163 llvm::orc::JITDylibLookupFlags JDLookupFlags,
164 const llvm::orc::SymbolLookupSet &Symbols)
override
170 std::unordered_map<std::string, llvm::orc::SymbolNameVector> found;
171 llvm::orc::SymbolNameSet missing;
176 for (
auto &&KV : Symbols) {
177 llvm::orc::SymbolStringPtr
name = KV.first;
179 const cling::DynamicLibraryManager &DLM = *
fInterpreter->getDynamicLibraryManager();
181 std::string libName = DLM.searchLibrariesForSymbol((*name).str(),
185 assert(libName.find(
"/libNew.") == std::string::npos &&
"We must not autoload libNew!");
191 assert(libName.find(
"/libCling.") == std::string::npos &&
"Must not autoload libCling!");
194 missing.insert(
name);
196 found[libName].push_back(
name);
199 for (
auto &&KV : found) {
200 auto MU = std::make_unique<AutoloadLibraryMU>(KV.first, std::move(KV.second));
201 if (
auto Err = JD.define(MU))
205 if (!missing.empty())
206 return llvm::make_error<llvm::orc::SymbolsNotFound>(std::move(missing));
208 return llvm::Error::success();
218 Transaction* T =
nullptr;
219 m_Interpreter->declare(
"namespace __ROOT_SpecialObjects{}", &T);
222 interp->addGenerator(std::make_unique<AutoloadLibraryGenerator>(interp));
230 const clang::Token &,
231 llvm::StringRef FileName,
233 clang::CharSourceRange ,
234 const clang::FileEntry *FE,
237 const clang::Module * Imported,
238 clang::SrcMgr::CharacteristicKind FileType) {
240 Sema &SemaR = m_Interpreter->getSema();
243 if (!SemaR.isModuleVisible(Imported))
245 "Module %s resolved but not visible!", Imported->Name.c_str());
261 bool isHeaderFile = FileName.endswith(
".h") || FileName.endswith(
".hxx") || FileName.endswith(
".hpp");
265 std::string localString(FileName.str());
267 DeclarationName Name = &SemaR.getASTContext().Idents.get(localString.c_str());
268 LookupResult RHeader(SemaR, Name, sLoc, Sema::LookupOrdinaryName);
275 bool permanent,
bool resolved) {
283 llvm::SmallVectorImpl<char> &RecoveryPath) {
291 Preprocessor& PP = m_Interpreter->getCI()->getPreprocessor();
294 std::string
filename(FileName.str().substr(0,FileName.str().find_last_of(
'"')));
295 std::string fname,
mode, arguments, io;
298 if (
mode.length() > 0) {
299 if (llvm::sys::fs::exists(fname)) {
301 std::string options =
"k";
302 if (
mode.find(
"++") != std::string::npos) options +=
"f";
303 if (
mode.find(
"g") != std::string::npos) options +=
"g";
304 if (
mode.find(
"O") != std::string::npos) options +=
"O";
307 Preprocessor::CleanupAndRestoreCacheRAII cleanupRAII(PP);
308 Parser& P =
const_cast<Parser&
>(m_Interpreter->getParser());
310 clang::Parser::ParserCurTokRestoreRAII fSavedCurToken(P);
314 Token& Tok =
const_cast<Token&
>(P.getCurToken());
315 Tok.setKind(tok::semi);
327 Sema& SemaR = m_Interpreter->getSema();
328 ASTContext& C = SemaR.getASTContext();
329 Sema::ContextAndScopeRAII pushedDCAndS(SemaR, C.getTranslationUnitDecl(),
336 fPPOldFlag = PP.GetSuppressIncludeNotFoundError();
337 PP.SetSuppressIncludeNotFoundError(
true);
346 PP.SetSuppressIncludeNotFoundError(
fPPOldFlag);
357 DeclContext* DC = S->getEntity();
366 clang::DeclContext* MaybeTU = DC;
367 while (MaybeTU && !isa<TranslationUnitDecl>(MaybeTU)) {
369 MaybeTU = MaybeTU->getParent();
371 return isa<FunctionDecl>(DC);
389 if (m_Interpreter->getSema().getDiagnostics().hasErrorOccurred())
427 llvm::Optional<std::string> envUseGMI = llvm::sys::Process::GetEnv(
"ROOT_USE_GMI");
428 if (envUseGMI.hasValue())
432 const CompilerInstance *CI = m_Interpreter->getCI();
433 const LangOptions &LangOpts = CI->getPreprocessor().getLangOpts();
435 if (!LangOpts.Modules)
439 if (LangOpts.isCompilingModule())
449 Sema &SemaR = m_Interpreter->getSema();
450 if (SemaR.InstantiatingSpecializations.size() > 0)
453 GlobalModuleIndex *Index = CI->getASTReader()->getGlobalIndex();
459 GlobalModuleIndex::FileNameHitSet FoundModules;
463 if (Index->lookupIdentifier(Name.getAsString(), FoundModules)) {
464 for (llvm::StringRef FileName : FoundModules) {
465 StringRef ModuleName = llvm::sys::path::stem(FileName);
470 llvm::errs() <<
"Module '" << ModuleName <<
"' already loaded"
471 <<
" for '" << Name.getAsString() <<
"'\n";
477 llvm::errs() <<
"Loading '" << ModuleName <<
"' on demand"
478 <<
" for '" << Name.getAsString() <<
"'\n";
480 m_Interpreter->loadModule(ModuleName.str());
483 if (loadFirstMatchOnly)
503 if (
Name.getNameKind() != DeclarationName::Identifier)
506 Sema &SemaR = m_Interpreter->getSema();
507 auto *D = cast<Decl>(DC);
508 SourceLocation Loc = D->getLocation();
509 if (Loc.isValid() && SemaR.getSourceManager().isInSystemHeader(Loc)) {
518 NamespaceDecl* NSD = dyn_cast<NamespaceDecl>(
const_cast<DeclContext*
>(DC));
529 const DeclContext* primaryDC = NSD->getPrimaryContext();
533 LookupResult
R(SemaR, Name, SourceLocation(), Sema::LookupOrdinaryName);
534 R.suppressDiagnostics();
537 = NSD->getQualifiedNameAsString() +
"::" +
Name.getAsString();
543 clang::Scope
S(SemaR.TUScope, clang::Scope::DeclScope, SemaR.getDiagnostics());
544 S.setEntity(
const_cast<DeclContext*
>(DC));
545 Sema::ContextAndScopeRAII pushedDCAndS(SemaR,
const_cast<DeclContext*
>(DC), &S);
548 llvm::SmallVector<NamedDecl*, 4> lookupResults;
549 for(LookupResult::iterator
I =
R.begin(), E =
R.end();
I <
E; ++
I)
550 lookupResults.push_back(*
I);
551 UpdateWithNewDecls(DC, Name, llvm::makeArrayRef(lookupResults.data(),
552 lookupResults.size()));
573 Sema &SemaR = m_Interpreter->getSema();
575 SourceLocation Loc = Tag->getLocation();
576 if (SemaR.getSourceManager().isInSystemHeader(Loc)) {
582 for (
auto ReRD: Tag->redecls()) {
584 if (ReRD->isBeingDefined())
589 if (RecordDecl* RD = dyn_cast<RecordDecl>(Tag)) {
590 ASTContext& C = SemaR.getASTContext();
591 Parser& P =
const_cast<Parser&
>(m_Interpreter->getParser());
600 C.getTypeDeclType(RD),
606 Tag->setHasExternalLexicalStorage(
false);
622 Scope *S,
const FileEntry* FE ) {
628 Sema &SemaR = m_Interpreter->getSema();
637 Sema::LookupNameKind kind =
R.getLookupKind();
638 if (!(kind == Sema::LookupTagName || kind == Sema::LookupOrdinaryName
639 || kind == Sema::LookupNestedNameSpecifierName
640 || kind == Sema::LookupNamespaceName))
645 bool lookupSuccess =
false;
647 Parser &P =
const_cast<Parser &
>(m_Interpreter->getParser());
654 lookupSuccess = SemaR.LookupName(
R, S);
656 if (
R.isSingleResult()) {
657 if (isa<clang::RecordDecl>(
R.getFoundDecl())) {
673 lookupSuccess = FE || SemaR.LookupName(
R, S);
679 std::string incl =
"#include \"";
680 incl += FE->getName();
682 m_Interpreter->declare(incl);
718 if (
R.isForRedeclaration())
723 const Sema::LookupNameKind LookupKind =
R.getLookupKind();
724 if (LookupKind != Sema::LookupOrdinaryName)
728 Sema &SemaR = m_Interpreter->getSema();
729 ASTContext& C = SemaR.getASTContext();
730 Preprocessor &PP = SemaR.getPreprocessor();
731 DeclContext *CurDC = SemaR.CurContext;
732 DeclarationName Name =
R.getLookupName();
735 if(!CurDC || !CurDC->isFunctionOrMethod())
740 Preprocessor::CleanupAndRestoreCacheRAII cleanupPPRAII(PP);
747#if defined(R__MUST_REVISIT)
748#if R__MUST_REVISIT(6,2)
753 if (!fgSetOfSpecials) {
754 fgSetOfSpecials =
new std::set<TObject*>;
756 ((std::set<TObject*>*)fgSetOfSpecials)->insert((
TObject*)*obj);
760 VarDecl *VD = cast_or_null<VarDecl>(utils::Lookup::Named(&SemaR, Name,
765 TObject **address = (
TObject**)m_Interpreter->getAddressOfGlobal(GD);
769 CStyleCastExpr *CStyleCast = cast<CStyleCastExpr>(VD->getInit());
770 Expr* newInit = utils::Synthesize::IntegerLiteralExpr(C, (uint64_t)obj);
771 CStyleCast->setSubExpr(newInit);
778 Preprocessor::CleanupAndRestoreCacheRAII cleanupRAII(PP);
782 QualType QT = C.getPointerType(C.getTypeDeclType(cast<TypeDecl>(TD)));
785 SourceLocation(), Name.getAsIdentifierInfo(), QT,
789 = utils::Synthesize::CStyleCastPtrExpr(&SemaR, QT, (uint64_t)obj);
794 cling::CompilationOptions CO;
795 CO.DeclarationExtraction = 0;
796 CO.ValuePrinting = CompilationOptions::VPDisabled;
797 CO.ResultEvaluation = 0;
798 CO.DynamicScoping = 0;
800 CO.CodeGeneration = 1;
802 cling::Transaction* T =
new cling::Transaction(CO, SemaR);
804 T->setState(cling::Transaction::kCompleted);
806 m_Interpreter->emitAllDecls(T);
808 assert(VD &&
"Cannot be null!");
825 DeclarationName Name =
R.getLookupName();
826 IdentifierInfo* II = Name.getAsIdentifierInfo();
827 SourceLocation Loc =
R.getNameLoc();
828 Sema& SemaRef =
R.getSema();
829 ASTContext& C = SemaRef.getASTContext();
830 DeclContext* TU = C.getTranslationUnitDecl();
831 assert(TU &&
"Must not be null.");
834 clang::FunctionDecl* Wrapper =
nullptr;
837 DeclContext* DCCursor =
Cursor->getEntity();
840 Wrapper = dyn_cast_or_null<FunctionDecl>(DCCursor);
842 if (utils::Analyze::IsWrapper(Wrapper)) {
856 VarDecl* Result = VarDecl::Create(C, TU, Loc, Loc, II, C.DependentTy,
868 Wrapper->addAttr(AnnotateAttr::CreateImplicit(C,
"__ResolveAtRuntime"));
872 Sema::ContextRAII pushedDC(SemaRef, TU);
883 if (
R.getLookupKind() != Sema::LookupOrdinaryName)
886 if (
R.isForRedeclaration())
892 const Transaction* T = getInterpreter()->getCurrentTransaction();
895 const cling::CompilationOptions& COpts = T->getCompilationOpts();
896 if (!COpts.DynamicScoping)
899 auto &PP =
R.getSema().PP;
903 SourceLocation LocAfterIdent = PP.getLocForEndOfToken(
R.getNameLoc());
905 PP.getRawToken(LocAfterIdent, LookAhead0,
true);
906 if (LookAhead0.is(tok::raw_identifier))
925 for (Scope* DepScope = S; DepScope; DepScope = DepScope->getParent()) {
926 if (DeclContext* Ctx =
static_cast<DeclContext*
>(DepScope->getEntity())) {
927 if (!Ctx->isDependentContext())
929 if (isa<FunctionDecl>(Ctx))
947 if (
R.isForRedeclaration())
950 if (
R.getLookupKind() != Sema::LookupOrdinaryName)
953 if (!isa<FunctionDecl>(
R.getSema().CurContext))
958 DeclContext* ScopeDC = S->getEntity();
959 if (!ScopeDC || !llvm::isa<FunctionDecl>(ScopeDC))
964 Scope* FnScope = S->getFnParent();
967 auto FD = dyn_cast_or_null<FunctionDecl>(FnScope->getEntity());
968 if (!FD || !utils::Analyze::IsWrapper(FD))
972 Sema& SemaRef =
R.getSema();
973 ASTContext& C = SemaRef.getASTContext();
974 DeclContext* DC = SemaRef.CurContext;
975 assert(DC &&
"Must not be null.");
978 Preprocessor& PP =
R.getSema().getPreprocessor();
981 if (PP.LookAhead(0).isNot(tok::equal)) {
987 DeclarationName Name =
R.getLookupName();
988 IdentifierInfo* II = Name.getAsIdentifierInfo();
989 SourceLocation Loc =
R.getNameLoc();
990 VarDecl* Result = VarDecl::Create(C, DC, Loc, Loc, II,
991 C.getAutoType(QualType(),
992 clang::AutoTypeKeyword::Auto,
998 "Cannot create VarDecl");
1005 Result->addAttr(AnnotateAttr::CreateImplicit(C,
"__Auto"));
1016 Sema& SemaR = m_Interpreter->getSema();
1017 cling::Transaction TPrev((cling::CompilationOptions(), SemaR));
1018 TPrev.append(SemaR.getASTContext().getTranslationUnitDecl());
1057 if (
const RecordDecl* RD = dyn_cast<RecordDecl>(D)) {
1070 llvm::StringRef canonicalName) {
1075 llvm::StringRef canonicalName) {
The file contains utilities which are foundational and could be used across the core component of ROO...
bool TCling__LibraryLoadingFailed(const std::string &, const std::string &, bool, bool)
Lookup libraries in LD_LIBRARY_PATH and DYLD_LIBRARY_PATH with mangled_name, which is extracted by er...
void * TCling__LockCompilationDuringUserCodeExecution()
Lock the interpreter.
int TCling__LoadLibrary(const char *library)
Load a library.
void TCling__UpdateListsOnCommitted(const cling::Transaction &, Interpreter *)
void TCling__SplitAclicMode(const char *fileName, std::string &mode, std::string &args, std::string &io, std::string &fname)
void TCling__TransactionRollback(const cling::Transaction &)
const char * TCling__GetClassSharedLibs(const char *className)
int TCling__AutoParseCallback(const char *className)
Decl * TCling__GetObjectDecl(TObject *obj)
void TCling__GetNormalizedContext(const ROOT::TMetaUtils::TNormalizedCtxt *&)
void TCling__RestoreInterpreterMutex(void *state)
Re-apply the lock count delta that TCling__ResetInterpreterMutex() caused.
int TCling__CompileMacro(const char *fileName, const char *options)
void * TCling__ResetInterpreterMutex()
Reset the interpreter lock to the state it had before interpreter-related calls happened.
int TCling__AutoLoadCallback(const char *className)
void TCling__LibraryUnloadedRTTI(const void *dyLibHandle, llvm::StringRef canonicalName)
void TCling__PrintStackTrace()
Print a StackTrace!
int TCling__IsAutoLoadNamespaceCandidate(const clang::NamespaceDecl *name)
void TCling__UpdateListsOnUnloaded(const cling::Transaction &)
void TCling__UnlockCompilationDuringUserCodeExecution(void *state)
Unlock the interpreter.
static bool topmostDCIsFunction(Scope *S)
void TCling__InvalidateGlobal(const clang::Decl *)
void TCling__LibraryLoadedRTTI(const void *dyLibHandle, llvm::StringRef canonicalName)
TObject * TCling__GetObjectAddress(const char *Name, void *&LookupCtx)
void TCling__RestoreInterpreterMutex(void *delta)
Re-apply the lock count delta that TCling__ResetInterpreterMutex() caused.
void TCling__TransactionRollback(const cling::Transaction &T)
void TCling__InvalidateGlobal(const clang::Decl *D)
void * TCling__LockCompilationDuringUserCodeExecution()
Lock the interpreter.
void TCling__UpdateListsOnUnloaded(const cling::Transaction &T)
void TCling__GetNormalizedContext(const ROOT::TMetaUtils::TNormalizedCtxt *&normCtxt)
bool TCling__LibraryLoadingFailed(const std::string &errmessage, const std::string &libStem, bool permanent, bool resolved)
Lookup libraries in LD_LIBRARY_PATH and DYLD_LIBRARY_PATH with mangled_name, which is extracted by er...
void TCling__UnlockCompilationDuringUserCodeExecution(void *)
Unlock the interpreter.
const char * TCling__GetClassSharedLibs(const char *className)
int TCling__AutoParseCallback(const char *className)
void TCling__LibraryUnloadedRTTI(const void *dyLibHandle, const char *canonicalName)
void TCling__UpdateListsOnCommitted(const cling::Transaction &T, cling::Interpreter *)
const Decl * TCling__GetObjectDecl(TObject *obj)
int TCling__CompileMacro(const char *fileName, const char *options)
void * TCling__ResetInterpreterMutex()
Reset the interpreter lock to the state it had before interpreter-related calls happened.
int TCling__AutoLoadCallback(const char *className)
void TCling__PrintStackTrace()
Print a StackTrace!
void TCling__LibraryLoadedRTTI(const void *dyLibHandle, const char *canonicalName)
TObject * TCling__GetObjectAddress(const char *Name, void *&LookupCtx)
int TCling__IsAutoLoadNamespaceCandidate(const clang::NamespaceDecl *nsDecl)
void TCling__SplitAclicMode(const char *fileName, string &mode, string &args, string &io, string &fname)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char mode
AutoloadLibraryGenerator(cling::Interpreter *interp)
cling::Interpreter * fInterpreter
llvm::Error tryToGenerate(llvm::orc::LookupState &LS, llvm::orc::LookupKind K, llvm::orc::JITDylib &JD, llvm::orc::JITDylibLookupFlags JDLookupFlags, const llvm::orc::SymbolLookupSet &Symbols) override
void discard(const llvm::orc::JITDylib &JD, const llvm::orc::SymbolStringPtr &Name) override
void materialize(std::unique_ptr< llvm::orc::MaterializationResponsibility > R) override
llvm::orc::SymbolNameVector fSymbols
StringRef getName() const override
static llvm::orc::SymbolFlagsMap getSymbolFlagsMap(const llvm::orc::SymbolNameVector &Symbols)
AutoloadLibraryMU(const std::string &Library, const llvm::orc::SymbolNameVector &Symbols)
void LibraryUnloaded(const void *dyLibHandle, llvm::StringRef canonicalName) override
bool tryAutoParseInternal(llvm::StringRef Name, clang::LookupResult &R, clang::Scope *S, const clang::FileEntry *FE=0)
bool tryFindROOTSpecialInternal(clang::LookupResult &R, clang::Scope *S)
void ReturnedFromUserCode(void *stateInfo) override
bool fIsAutoParsingSuspended
bool tryResolveAtRuntimeInternal(clang::LookupResult &R, clang::Scope *S)
bool findInGlobalModuleIndex(clang::DeclarationName Name, bool loadFirstMatchOnly=true)
void PrintStackTrace() override
bool tryInjectImplicitAutoKeyword(clang::LookupResult &R, clang::Scope *S)
bool IsAutoLoadingEnabled()
clang::NamespaceDecl * fROOTSpecialNamespace
void TransactionRollback(const cling::Transaction &T) override
void TransactionCommitted(const cling::Transaction &T) override
TClingCallbacks(cling::Interpreter *interp, bool hasCodeGen)
llvm::DenseMap< llvm::StringRef, clang::DeclarationName > m_LoadedModuleFiles
void DeclDeserialized(const clang::Decl *D) override
void InclusionDirective(clang::SourceLocation, const clang::Token &, llvm::StringRef FileName, bool, clang::CharSourceRange, const clang::FileEntry *, llvm::StringRef, llvm::StringRef, const clang::Module *, clang::SrcMgr::CharacteristicKind) override
void DefinitionShadowed(const clang::NamedDecl *D) override
A previous definition has been shadowed; invalidate TCling' stored data about the old (global) decl.
bool FileNotFound(llvm::StringRef FileName, llvm::SmallVectorImpl< char > &RecoveryPath) override
void * EnteringUserCode() override
bool fIsAutoLoadingRecursively
void UnlockCompilationDuringUserCodeExecution(void *StateInfo) override
bool LibraryLoadingFailed(const std::string &, const std::string &, bool, bool) override
void * LockCompilationDuringUserCodeExecution() override
bool LookupObject(clang::LookupResult &R, clang::Scope *S) override
void LibraryLoaded(const void *dyLibHandle, llvm::StringRef canonicalName) override
bool shouldResolveAtRuntime(clang::LookupResult &R, clang::Scope *S)
void TransactionUnloaded(const cling::Transaction &T) override
Mother of all ROOT objects.
bool ConvertEnvValueToBool(const std::string &value)
RooArgSet S(Args_t &&... args)
constexpr Double_t E()
Base of natural log: .
RAII used to store Parser, Sema, Preprocessor state for recursive parsing.
clang::Preprocessor::CleanupAndRestoreCacheRAII fCleanupRAII
clang::Sema::ContextAndScopeRAII fPushedDCAndS