Skip to content

Commit

Permalink
Remove hdd checking and import all modules
Browse files Browse the repository at this point in the history
  • Loading branch information
yamaguchi1024 committed Apr 4, 2018
1 parent 013f9c4 commit 4c864d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/metacling/src/TCling.cxx
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 4c864d1

Please sign in to comment.