Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[testing][cxxmodules] Load module in payload instead
  • Loading branch information
Teemperor committed Nov 27, 2017
commit b2b3e7eb4a158f7fd70d1528cf744c0c5a74d38c
6 changes: 5 additions & 1 deletion core/metacling/src/TCling.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,11 @@ void TCling::RegisterModule(const char* modulename,
#endif
#endif

if (!hasHeaderParsingOnDemand){
llvm::StringRef CxxModule = StringRef(modulename);
bool b = CxxModule.consume_front("lib");
(void)b;
if (LoadModule(CxxModule, *fInterpreter)) {
} else if (!hasHeaderParsingOnDemand){
SuspendAutoParsing autoParseRaii(this);

const cling::Transaction* watermark = fInterpreter->getLastTransaction();
Expand Down