Partially revert previous commit to Transaction.h to unbreak ROOT.

ROOT needs to create temporary Transactions on the stack, that do not end up in cling's TransactionPool.
This commit is contained in:
Axel Naumann 2016-09-12 20:40:50 +02:00 committed by sftnight
parent 76882cbea2
commit 0d8ef9b09a

View File

@ -192,14 +192,10 @@ namespace cling {
/// as the performance gains seem negligable)
///
friend class TransactionPool;
Transaction(clang::Sema& S);
Transaction(const CompilationOptions& Opts, clang::Sema& S);
~Transaction();
void Initialize(clang::Sema& S);
public:
enum State {
kCollecting,
kCompleted,
@ -215,6 +211,10 @@ namespace cling {
kNone
};
Transaction(clang::Sema& S);
Transaction(const CompilationOptions& Opts, clang::Sema& S);
~Transaction();
/// \{
/// \name Iteration