summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRDynamicChecks.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-01-25 23:55:37 +0000
committerGreg Clayton <gclayton@apple.com>2011-01-25 23:55:37 +0000
commit1a65ae11bd65d007391473f8bde3d06f4abad740 (patch)
tree12bcbcdd2564d2bf305c3642ebe3a0b80128beb7 /lldb/source/Expression/IRDynamicChecks.cpp
parent3ae681eb1240f09af37936663760526ed1b324cf (diff)
downloadbcm5719-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.cpp18
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)
{
OpenPOWER on IntegriCloud