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:
parent
76882cbea2
commit
0d8ef9b09a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user