ABC's must have virtual dtors! Shame on me!
authorChris Lattner <sabre@nondot.org>
Sun, 28 Dec 2003 08:55:50 +0000 (08:55 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 28 Dec 2003 08:55:50 +0000 (08:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10624 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/IntrinsicLowering.h
include/llvm/IntrinsicLowering.h

index 9d4d89a0acf4be435d0e9751879f6d9cb6c2f3d9..7f0cd81ca6e7ff715bc1ac01f3d13e90ac01feb5 100644 (file)
@@ -37,6 +37,7 @@ namespace llvm {
   class CallInst;
   
   struct IntrinsicLowering {
+    virtual ~IntrinsicLowering() {}
 
     /// LowerIntrinsicCall - This method returns the LLVM function which should
     /// be used to implement the specified intrinsic function call.  If an
index 9d4d89a0acf4be435d0e9751879f6d9cb6c2f3d9..7f0cd81ca6e7ff715bc1ac01f3d13e90ac01feb5 100644 (file)
@@ -37,6 +37,7 @@ namespace llvm {
   class CallInst;
   
   struct IntrinsicLowering {
+    virtual ~IntrinsicLowering() {}
 
     /// LowerIntrinsicCall - This method returns the LLVM function which should
     /// be used to implement the specified intrinsic function call.  If an