Enabled extra warnings and fixed a bunch of small issues.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@124250 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/IRDynamicChecks.cpp b/source/Expression/IRDynamicChecks.cpp
index a59ac64..e0284c7 100644
--- a/source/Expression/IRDynamicChecks.cpp
+++ b/source/Expression/IRDynamicChecks.cpp
@@ -127,6 +127,10 @@
{
}
+ virtual~Instrumenter ()
+ {
+ }
+
//------------------------------------------------------------------
/// Inspect a function to find instructions to instrument
///
@@ -287,12 +291,16 @@
class ValidPointerChecker : public Instrumenter
{
public:
- ValidPointerChecker(llvm::Module &module,
- DynamicCheckerFunctions &checker_functions) :
+ ValidPointerChecker (llvm::Module &module,
+ DynamicCheckerFunctions &checker_functions) :
Instrumenter(module, checker_functions),
m_valid_pointer_check_func(NULL)
{
}
+
+ virtual ~ValidPointerChecker ()
+ {
+ }
private:
bool InstrumentInstruction(llvm::Instruction *inst)
{
@@ -356,6 +364,12 @@
m_objc_object_check_func(NULL)
{
}
+
+ virtual
+ ~ObjcObjectChecker ()
+ {
+ }
+
private:
bool InstrumentInstruction(llvm::Instruction *inst)
{