diff --git a/lib/Interpreter/CheckEmptyTransactionTransformer.cpp b/lib/Interpreter/CheckEmptyTransactionTransformer.cpp index 4e2aa4e9..0ecf0478 100644 --- a/lib/Interpreter/CheckEmptyTransactionTransformer.cpp +++ b/lib/Interpreter/CheckEmptyTransactionTransformer.cpp @@ -37,6 +37,7 @@ namespace cling { } cling::Transaction T(m_Sema->getASTContext()); T.append(FD); + // We know that it didn't end up in the EE by design. ASTNodeEraser eraser(m_Sema, /*ExecutionEngine*/0); eraser.RevertTransaction(&T); }