Add missing transaction (fix .class)
This commit is contained in:
parent
5e68396609
commit
26a63ae38f
@ -704,6 +704,9 @@ void ClassPrinter::DisplayClassDecl(const CXXRecordDecl* classDecl)const
|
||||
assert(classDecl != 0 && "DisplayClassDecl, 'classDecl' parameter is null");
|
||||
assert(fInterpreter != 0 && "DisplayClassDecl, fInterpreter is null");
|
||||
|
||||
// Could trigger deserialization of decls.
|
||||
Interpreter::PushTransactionRAII RAII(const_cast<Interpreter*>(fInterpreter));
|
||||
|
||||
classDecl = classDecl->getDefinition();
|
||||
assert(classDecl != 0 && "DisplayClassDecl, invalid decl - no definition");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user