From 6c6900e45c3b19c177e475fb8236e63391607ee9 Mon Sep 17 00:00:00 2001 From: Yuka Takahashi Date: Wed, 4 Apr 2018 00:19:47 +0200 Subject: [PATCH] Remove hdd checking and import all modules --- core/metacling/src/TCling.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/metacling/src/TCling.cxx b/core/metacling/src/TCling.cxx index a6599c85b4abc..b040275789ef2 100644 --- a/core/metacling/src/TCling.cxx +++ b/core/metacling/src/TCling.cxx @@ -1288,13 +1288,12 @@ TCling::TCling(const char *name, const char *title) for (auto I = moduleMap.module_begin(), E = moduleMap.module_end(); I != E; ++I) { clang::Module *M = I->second; assert(M); - if(!M->getASTFile()) continue; std::string ModuleName = GetModuleNameAsString(M, PP); if (!ModuleName.empty() && std::find(CoreModules.begin(), CoreModules.end(), ModuleName) == CoreModules.end()) { if (M->IsSystem && !M->IsMissingRequirement) LoadModule(ModuleName, *fInterpreter); - else if (!M->IsSystem && !M->IsMissingRequirement) + else vec.push_back(ModuleName); } }