diff options
author | Greg Clayton <gclayton@apple.com> | 2011-01-25 23:55:37 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-01-25 23:55:37 +0000 |
commit | 1a65ae11bd65d007391473f8bde3d06f4abad740 (patch) | |
tree | 12bcbcdd2564d2bf305c3642ebe3a0b80128beb7 /lldb/source/Expression/IRDynamicChecks.cpp | |
parent | 3ae681eb1240f09af37936663760526ed1b324cf (diff) | |
download | bcm5719-llvm-1a65ae11bd65d007391473f8bde3d06f4abad740.tar.gz bcm5719-llvm-1a65ae11bd65d007391473f8bde3d06f4abad740.zip |
Enabled extra warnings and fixed a bunch of small issues.
llvm-svn: 124250
Diffstat (limited to 'lldb/source/Expression/IRDynamicChecks.cpp')
-rw-r--r-- | lldb/source/Expression/IRDynamicChecks.cpp | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/lldb/source/Expression/IRDynamicChecks.cpp b/lldb/source/Expression/IRDynamicChecks.cpp index a59ac644f84..e0284c70d5c 100644 --- a/lldb/source/Expression/IRDynamicChecks.cpp +++ b/lldb/source/Expression/IRDynamicChecks.cpp @@ -127,6 +127,10 @@ public: { } + virtual~Instrumenter () + { + } + //------------------------------------------------------------------ /// Inspect a function to find instructions to instrument /// @@ -287,12 +291,16 @@ private: 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 @@ public: m_objc_object_check_func(NULL) { } + + virtual + ~ObjcObjectChecker () + { + } + private: bool InstrumentInstruction(llvm::Instruction *inst) { |