diff --git a/include/llvm/CodeGen/IntrinsicLowering.h b/include/llvm/CodeGen/IntrinsicLowering.h index 9d4d89a0acf..7f0cd81ca6e 100644 --- a/include/llvm/CodeGen/IntrinsicLowering.h +++ b/include/llvm/CodeGen/IntrinsicLowering.h @@ -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 diff --git a/include/llvm/IntrinsicLowering.h b/include/llvm/IntrinsicLowering.h index 9d4d89a0acf..7f0cd81ca6e 100644 --- a/include/llvm/IntrinsicLowering.h +++ b/include/llvm/IntrinsicLowering.h @@ -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