Skip to content
Merged
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/dictgen/src/rootcling_impl.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3409,6 +3409,9 @@ std::list<std::string> RecordDecl2Headers(const clang::CXXRecordDecl &rcd,
{
std::list<std::string> headers;

// We push a new transaction because we could deserialize decls here
cling::Interpreter::PushTransactionRAII RAII(&interp);
Copy link
Member

Choose a reason for hiding this comment

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

Do we know/understand which part of the code can deserialize? I.e. Can this be safely move to line 3422?


// Avoid infinite recursion
if (!visitedDecls.insert(rcd.getCanonicalDecl()).second)
return headers;
Expand Down