cling/lib/Interpreter/CheckEmptyTransactionTransformer.h
Vassil Vassilev 6b2658d4ac If the transaction contains no useful code return to the pool.
This can happen in many cases such as parsing comments for example.
2013-10-29 20:19:15 +01:00

22 lines
751 B
C++

//--------------------------------------------------------------------*- C++ -*-
// CLING - the C++ LLVM-based InterpreterG :)
// version: $Id: a88f59662c0204c76ab2204361d9f64b1e10fcfc $
// author: Vassil Vassilev <vvasilev@cern.ch>
//------------------------------------------------------------------------------
#ifndef CLING_CHECK_EMPTY_TRANSACTION_TRANSFORMER
#define CLING_CHECK_EMPTY_TRANSACTION_TRANSFORMER
#include "TransactionTransformer.h"
namespace cling {
class CheckEmptyTransactionTransformer : public TransactionTransformer {
public:
CheckEmptyTransactionTransformer() : TransactionTransformer(/*Sema=*/0) { }
virtual void Transform();
};
} // end namespace cling
#endif // CLING_CHECK_EMPTY_TRANSACTION_TRANSFORMER