Skip to content
Closed
Changes from all commits
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
3 changes: 3 additions & 0 deletions core/metacling/src/TCling.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1816,6 +1816,9 @@ void TCling::RegisterModule(const char* modulename,
if (hasHeaderParsingOnDemand && fwdDeclsCode){
// We now parse the forward declarations. All the classes are then modified
// in order for them to have an external lexical storage.
if (fInterpreter->getCI()->getLangOpts().Modules) {
assert(false && "Fwd decls with modules?");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably put something like that in TCling::ReadRootmapFile.

}
std::string fwdDeclsCodeLessEnums;
{
// Search for enum forward decls and only declare them if no
Expand Down