cling/lib/Interpreter/NullDerefProtectionTransformer.h
Axel Naumann 6f3a95eef2 Doxygen.
2016-04-22 12:29:14 +02:00

41 lines
1.1 KiB
C++

//--------------------------------------------------------------------*- C++ -*-
// CLING - the C++ LLVM-based InterpreterG :)
// author: Baozeng Ding <sploving1@gmail.com>
// author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch>
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser General Public License. See
// LICENSE.TXT for details.
//------------------------------------------------------------------------------
#ifndef CLING_AST_NULL_DEREF_PROTECTION_H
#define CLING_AST_NULL_DEREF_PROTECTION_H
#include "ASTTransformer.h"
namespace clang {
class Decl;
}
namespace cling {
class Interpreter;
}
namespace cling {
class NullDerefProtectionTransformer : public ASTTransformer {
cling::Interpreter* m_Interp;
public:
///\ brief Constructs the NullDeref AST Transformer.
///
///\param[in] I - The interpreter.
///
NullDerefProtectionTransformer(cling::Interpreter* I);
virtual ~NullDerefProtectionTransformer();
Result Transform(clang::Decl* D) override;
};
} // namespace cling
#endif // CLING_AST_NULL_DEREF_PROTECTION_H