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"
36#include "clang/Basic/DiagnosticSema.h"
38#include "llvm/ExecutionEngine/Orc/Core.h"
40#include "llvm/Support/Error.h"
41#include "llvm/Support/FileSystem.h"
42#include "llvm/Support/Path.h"
43#include "llvm/Support/Process.h"
73 std::string &args, std::string &io, std::string &fname);
77 llvm::StringRef canonicalName);
79 llvm::StringRef canonicalName);
97 StringRef
getName()
const override {
return "<Symbols from Autoloaded Library>"; }
99 void materialize(std::unique_ptr<llvm::orc::MaterializationResponsibility>
R)
override
102 R->failMaterialization();
106 llvm::orc::SymbolMap loadedSymbols;
107 llvm::orc::SymbolNameSet failedSymbols;
108 bool loadedLibrary =
false;
111 std::string symbolStr = (*symbol).str();
115 void *addr = llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(nameForDlsym);
117 if (!addr && !loadedLibrary) {
125 loadedLibrary =
true;
127 addr = llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(nameForDlsym);
131 loadedSymbols[symbol] =
132 llvm::JITEvaluatedSymbol(llvm::pointerToJITTargetAddress(addr), llvm::JITSymbolFlags::Exported);
137 failedSymbols.insert(symbol);
141 if (!failedSymbols.empty()) {
142 auto failingMR =
R->delegate(failedSymbols);
144 (*failingMR)->failMaterialization();
148 if (!loadedSymbols.empty()) {
149 llvm::cantFail(
R->notifyResolved(loadedSymbols));
150 llvm::cantFail(
R->notifyEmitted());
154 void discard(
const llvm::orc::JITDylib &JD,
const llvm::orc::SymbolStringPtr &Name)
override {}
159 llvm::orc::SymbolFlagsMap map;
160 for (
auto symbolName : Symbols)
161 map[symbolName] = llvm::JITSymbolFlags::Exported;
173 llvm::Error
tryToGenerate(llvm::orc::LookupState &LS, llvm::orc::LookupKind K, llvm::orc::JITDylib &JD,
174 llvm::orc::JITDylibLookupFlags JDLookupFlags,
175 const llvm::orc::SymbolLookupSet &Symbols)
override
178 llvm::Error::success();
184 std::unordered_map<std::string, llvm::orc::SymbolNameVector> found;
189 for (
auto &&KV : Symbols) {
190 llvm::orc::SymbolStringPtr
name = KV.first;
192 const cling::DynamicLibraryManager &DLM = *
fInterpreter->getDynamicLibraryManager();
194 std::string libName = DLM.searchLibrariesForSymbol((*name).str(),
198 assert(libName.find(
"/libNew.") == std::string::npos &&
"We must not autoload libNew!");
204 assert(libName.find(
"/libCling.") == std::string::npos &&
"Must not autoload libCling!");
206 if (!libName.empty())
207 found[libName].push_back(
name);
210 for (
auto &&KV : found) {
211 auto MU = std::make_unique<AutoloadLibraryMU>(
fCallbacks, KV.first, std::move(KV.second));
212 if (
auto Err = JD.define(MU))
216 return llvm::Error::success();
223 Transaction* T =
nullptr;
224 m_Interpreter->declare(
"namespace __ROOT_SpecialObjects{}", &T);
227 interp->addGenerator(std::make_unique<AutoloadLibraryGenerator>(interp, *
this));
235 const clang::Token &,
236 llvm::StringRef FileName,
238 clang::CharSourceRange ,
239 clang::OptionalFileEntryRef FE,
242 const clang::Module * Imported,
243 clang::SrcMgr::CharacteristicKind FileType) {
245 Sema &SemaR = m_Interpreter->getSema();
248 if (!SemaR.isModuleVisible(Imported))
250 "Module %s resolved but not visible!", Imported->Name.c_str());
266 bool isHeaderFile = FileName.endswith(
".h") || FileName.endswith(
".hxx") || FileName.endswith(
".hpp");
270 std::string localString(FileName.str());
272 DeclarationName Name = &SemaR.getASTContext().Idents.get(localString.c_str());
273 LookupResult RHeader(SemaR, Name, sLoc, Sema::LookupOrdinaryName);
280 bool permanent,
bool resolved) {
295 Preprocessor& PP = m_Interpreter->getCI()->getPreprocessor();
298 std::string
filename(FileName.str().substr(0,FileName.str().find_last_of(
'"')));
299 std::string fname,
mode, arguments, io;
302 if (
mode.length() > 0) {
303 if (llvm::sys::fs::exists(fname)) {
305 std::string options =
"k";
306 if (
mode.find(
"++") != std::string::npos) options +=
"f";
307 if (
mode.find(
"g") != std::string::npos) options +=
"g";
308 if (
mode.find(
"O") != std::string::npos) options +=
"O";
311 Preprocessor::CleanupAndRestoreCacheRAII cleanupRAII(PP);
312 Parser& P =
const_cast<Parser&
>(m_Interpreter->getParser());
314 clang::Parser::ParserCurTokRestoreRAII fSavedCurToken(P);
318 Token& Tok =
const_cast<Token&
>(P.getCurToken());
319 Tok.setKind(tok::semi);
331 Sema& SemaR = m_Interpreter->getSema();
332 ASTContext& C = SemaR.getASTContext();
333 Sema::ContextAndScopeRAII pushedDCAndS(SemaR, C.getTranslationUnitDecl(),
351 DeclContext* DC = S->getEntity();
360 clang::DeclContext* MaybeTU = DC;
361 while (MaybeTU && !isa<TranslationUnitDecl>(MaybeTU)) {
363 MaybeTU = MaybeTU->getParent();
365 return isa<FunctionDecl>(DC);
383 if (m_Interpreter->getSema().getDiagnostics().hasErrorOccurred())
421 std::optional<std::string> envUseGMI = llvm::sys::Process::GetEnv(
"ROOT_USE_GMI");
422 if (envUseGMI.has_value())
426 const CompilerInstance *CI = m_Interpreter->getCI();
427 const LangOptions &LangOpts = CI->getPreprocessor().getLangOpts();
429 if (!LangOpts.Modules)
433 if (LangOpts.isCompilingModule())
443 Sema &SemaR = m_Interpreter->getSema();
444 if (SemaR.InstantiatingSpecializations.size() > 0)
447 GlobalModuleIndex *Index = CI->getASTReader()->getGlobalIndex();
453 GlobalModuleIndex::FileNameHitSet FoundModules;
457 if (Index->lookupIdentifier(Name.getAsString(), FoundModules)) {
458 for (llvm::StringRef FileName : FoundModules) {
459 StringRef ModuleName = llvm::sys::path::stem(FileName);
464 llvm::errs() <<
"Module '" << ModuleName <<
"' already loaded"
465 <<
" for '" << Name.getAsString() <<
"'\n";
471 llvm::errs() <<
"Loading '" << ModuleName <<
"' on demand"
472 <<
" for '" << Name.getAsString() <<
"'\n";
474 m_Interpreter->loadModule(ModuleName.str());
477 if (loadFirstMatchOnly)
497 if (
Name.getNameKind() != DeclarationName::Identifier)
500 Sema &SemaR = m_Interpreter->getSema();
501 auto *D = cast<Decl>(DC);
502 SourceLocation Loc = D->getLocation();
503 if (Loc.isValid() && SemaR.getSourceManager().isInSystemHeader(Loc)) {
512 NamespaceDecl* NSD = dyn_cast<NamespaceDecl>(
const_cast<DeclContext*
>(DC));
523 const DeclContext* primaryDC = NSD->getPrimaryContext();
527 LookupResult
R(SemaR, Name, SourceLocation(), Sema::LookupOrdinaryName);
528 R.suppressDiagnostics();
531 = NSD->getQualifiedNameAsString() +
"::" +
Name.getAsString();
537 clang::Scope
S(SemaR.TUScope, clang::Scope::DeclScope, SemaR.getDiagnostics());
538 S.setEntity(
const_cast<DeclContext*
>(DC));
539 Sema::ContextAndScopeRAII pushedDCAndS(SemaR,
const_cast<DeclContext*
>(DC), &S);
542 llvm::SmallVector<NamedDecl*, 4> lookupResults;
543 for(LookupResult::iterator
I =
R.begin(), E =
R.end();
I <
E; ++
I)
544 lookupResults.push_back(*
I);
545 UpdateWithNewDecls(DC, Name, llvm::ArrayRef(lookupResults.data(), lookupResults.size()));
566 Sema &SemaR = m_Interpreter->getSema();
568 SourceLocation Loc = Tag->getLocation();
569 if (SemaR.getSourceManager().isInSystemHeader(Loc)) {
575 for (
auto ReRD: Tag->redecls()) {
577 if (ReRD->isBeingDefined())
582 if (RecordDecl* RD = dyn_cast<RecordDecl>(Tag)) {
583 ASTContext& C = SemaR.getASTContext();
584 Parser& P =
const_cast<Parser&
>(m_Interpreter->getParser());
593 C.getTypeDeclType(RD),
599 Tag->setHasExternalLexicalStorage(
false);
615 Scope *S, clang::OptionalFileEntryRef FE) {
621 Sema &SemaR = m_Interpreter->getSema();
630 Sema::LookupNameKind kind =
R.getLookupKind();
631 if (!(kind == Sema::LookupTagName || kind == Sema::LookupOrdinaryName
632 || kind == Sema::LookupNestedNameSpecifierName
633 || kind == Sema::LookupNamespaceName))
638 bool lookupSuccess =
false;
640 Parser &P =
const_cast<Parser &
>(m_Interpreter->getParser());
647 lookupSuccess = SemaR.LookupName(
R, S);
649 if (
R.isSingleResult()) {
650 if (isa<clang::RecordDecl>(
R.getFoundDecl())) {
666 lookupSuccess = FE || SemaR.LookupName(
R, S);
672 std::string incl =
"#include \"";
673 incl += FE->getName();
675 m_Interpreter->declare(incl);
711 if (
R.isForRedeclaration())
716 const Sema::LookupNameKind LookupKind =
R.getLookupKind();
717 if (LookupKind != Sema::LookupOrdinaryName)
721 Sema &SemaR = m_Interpreter->getSema();
722 ASTContext& C = SemaR.getASTContext();
723 Preprocessor &PP = SemaR.getPreprocessor();
724 DeclContext *CurDC = SemaR.CurContext;
725 DeclarationName Name =
R.getLookupName();
728 if(!CurDC || !CurDC->isFunctionOrMethod())
733 Preprocessor::CleanupAndRestoreCacheRAII cleanupPPRAII(PP);
740#if defined(R__MUST_REVISIT)
741#if R__MUST_REVISIT(6,2)
746 if (!fgSetOfSpecials) {
747 fgSetOfSpecials =
new std::set<TObject*>;
749 ((std::set<TObject*>*)fgSetOfSpecials)->insert((
TObject*)*obj);
753 VarDecl *VD = cast_or_null<VarDecl>(utils::Lookup::Named(&SemaR, Name,
758 TObject **address = (
TObject**)m_Interpreter->getAddressOfGlobal(GD);
762 CStyleCastExpr *CStyleCast = cast<CStyleCastExpr>(VD->getInit());
763 Expr* newInit = utils::Synthesize::IntegerLiteralExpr(C, (uint64_t)obj);
764 CStyleCast->setSubExpr(newInit);
771 Preprocessor::CleanupAndRestoreCacheRAII cleanupRAII(PP);
775 QualType QT = C.getPointerType(C.getTypeDeclType(cast<TypeDecl>(TD)));
778 SourceLocation(), Name.getAsIdentifierInfo(), QT,
782 = utils::Synthesize::CStyleCastPtrExpr(&SemaR, QT, (uint64_t)obj);
787 cling::CompilationOptions CO;
788 CO.DeclarationExtraction = 0;
789 CO.ValuePrinting = CompilationOptions::VPDisabled;
790 CO.ResultEvaluation = 0;
791 CO.DynamicScoping = 0;
793 CO.CodeGeneration = 1;
795 cling::Transaction* T =
new cling::Transaction(CO, SemaR);
797 T->setState(cling::Transaction::kCompleted);
799 m_Interpreter->emitAllDecls(T);
801 assert(VD &&
"Cannot be null!");
818 DeclarationName Name =
R.getLookupName();
819 IdentifierInfo* II = Name.getAsIdentifierInfo();
820 SourceLocation Loc =
R.getNameLoc();
821 Sema& SemaRef =
R.getSema();
822 ASTContext& C = SemaRef.getASTContext();
823 DeclContext* TU = C.getTranslationUnitDecl();
824 assert(TU &&
"Must not be null.");
827 clang::FunctionDecl* Wrapper =
nullptr;
830 DeclContext* DCCursor =
Cursor->getEntity();
833 Wrapper = dyn_cast_or_null<FunctionDecl>(DCCursor);
835 if (utils::Analyze::IsWrapper(Wrapper)) {
849 VarDecl* Result = VarDecl::Create(C, TU, Loc, Loc, II, C.DependentTy,
861 Wrapper->addAttr(AnnotateAttr::CreateImplicit(C,
"__ResolveAtRuntime"));
865 Sema::ContextRAII pushedDC(SemaRef, TU);
876 if (
R.getLookupKind() != Sema::LookupOrdinaryName)
879 if (
R.isForRedeclaration())
885 const Transaction* T = getInterpreter()->getCurrentTransaction();
888 const cling::CompilationOptions& COpts = T->getCompilationOpts();
889 if (!COpts.DynamicScoping)
892 auto &PP =
R.getSema().PP;
896 SourceLocation LocAfterIdent = PP.getLocForEndOfToken(
R.getNameLoc());
898 PP.getRawToken(LocAfterIdent, LookAhead0,
true);
899 if (LookAhead0.is(tok::raw_identifier))
918 for (Scope* DepScope = S; DepScope; DepScope = DepScope->getParent()) {
919 if (DeclContext* Ctx =
static_cast<DeclContext*
>(DepScope->getEntity())) {
920 if (!Ctx->isDependentContext())
922 if (isa<FunctionDecl>(Ctx))
940 if (
R.isForRedeclaration())
943 if (
R.getLookupKind() != Sema::LookupOrdinaryName)
946 if (!isa<FunctionDecl>(
R.getSema().CurContext))
951 DeclContext* ScopeDC = S->getEntity();
952 if (!ScopeDC || !llvm::isa<FunctionDecl>(ScopeDC))
957 Scope* FnScope = S->getFnParent();
960 auto FD = dyn_cast_or_null<FunctionDecl>(FnScope->getEntity());
961 if (!FD || !utils::Analyze::IsWrapper(FD))
965 Sema& SemaRef =
R.getSema();
966 ASTContext& C = SemaRef.getASTContext();
967 DeclContext* DC = SemaRef.CurContext;
968 assert(DC &&
"Must not be null.");
971 Preprocessor& PP =
R.getSema().getPreprocessor();
974 if (PP.LookAhead(0).isNot(tok::equal)) {
980 DeclarationName Name =
R.getLookupName();
981 IdentifierInfo* II = Name.getAsIdentifierInfo();
982 SourceLocation Loc =
R.getNameLoc();
983 VarDecl* Result = VarDecl::Create(C, DC, Loc, Loc, II,
984 C.getAutoType(QualType(),
985 clang::AutoTypeKeyword::Auto,
991 "Cannot create VarDecl");
998 Result->addAttr(AnnotateAttr::CreateImplicit(C,
"__Auto"));
1003 SemaRef.getDiagnostics().setSeverity(diag::warn_deprecated_message, diag::Severity::Warning, SourceLocation());
1004 SemaRef.Diag(Loc, diag::warn_deprecated_message)
1005 <<
"declaration without the 'auto' keyword" << DC << Loc << FixItHint::CreateInsertion(Loc,
"auto ");
1015 Sema& SemaR = m_Interpreter->getSema();
1016 cling::Transaction TPrev((cling::CompilationOptions(), SemaR));
1017 TPrev.append(SemaR.getASTContext().getTranslationUnitDecl());
1056 llvm::StringRef canonicalName) {
1061 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...
const char * TCling__GetClassSharedLibs(const char *className, bool skipCore)
void TCling__UnlockCompilationDuringUserCodeExecution(void *)
Unlock the interpreter.
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, const TClingCallbacks &cb)
const TClingCallbacks & fCallbacks
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
const TClingCallbacks & fCallbacks
static llvm::orc::SymbolFlagsMap getSymbolFlagsMap(const llvm::orc::SymbolNameVector &Symbols)
AutoloadLibraryMU(const TClingCallbacks &cb, const std::string &Library, const llvm::orc::SymbolNameVector &Symbols)
void LibraryUnloaded(const void *dyLibHandle, llvm::StringRef canonicalName) override
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)
bool tryAutoParseInternal(llvm::StringRef Name, clang::LookupResult &R, clang::Scope *S, clang::OptionalFileEntryRef FE=std::nullopt)
void PrintStackTrace() override
bool tryInjectImplicitAutoKeyword(clang::LookupResult &R, clang::Scope *S)
clang::NamespaceDecl * fROOTSpecialNamespace
void TransactionRollback(const cling::Transaction &T) override
void TransactionCommitted(const cling::Transaction &T) override
bool FileNotFound(llvm::StringRef FileName) override
TClingCallbacks(cling::Interpreter *interp, bool hasCodeGen)
llvm::DenseMap< llvm::StringRef, clang::DeclarationName > m_LoadedModuleFiles
bool IsAutoLoadingEnabled() const
void DefinitionShadowed(const clang::NamedDecl *D) override
A previous definition has been shadowed; invalidate TCling' stored data about the old (global) decl.
void * EnteringUserCode() override
bool fIsAutoLoadingRecursively
void UnlockCompilationDuringUserCodeExecution(void *StateInfo) override
bool LibraryLoadingFailed(const std::string &, const std::string &, bool, bool) override
void InclusionDirective(clang::SourceLocation, const clang::Token &, llvm::StringRef FileName, bool, clang::CharSourceRange, clang::OptionalFileEntryRef, llvm::StringRef, llvm::StringRef, const clang::Module *, clang::SrcMgr::CharacteristicKind) 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