Quiet compiler warning. The only reason the function is marked virtual
authorNick Lewycky <nicholas@mxc.ca>
Thu, 11 Jan 2007 02:38:21 +0000 (02:38 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 11 Jan 2007 02:38:21 +0000 (02:38 +0000)
is so that it can be called from inside a debugger.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33067 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/PredicateSimplifier.cpp

index 16cc20c06a8e1e4a49616edb860483ef21024f77..cb4b2b39c1b1e6e273a47fe15d8d1c316c9eee7a 100644 (file)
@@ -247,6 +247,7 @@ namespace {
     private:
 #ifndef NDEBUG
     public:
+      virtual ~Node() {}
       virtual void dump() const {
         dump(*cerr.stream());
       }
@@ -638,6 +639,7 @@ namespace {
     }
 
 #ifndef NDEBUG
+    virtual ~InequalityGraph() {}
     virtual void dump() {
       dump(*cerr.stream());
     }