summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/utils/TableGen/TGValueTypes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/TGValueTypes.cpp b/llvm/utils/TableGen/TGValueTypes.cpp
index 9e62322a63a..8979e13f72b 100644
--- a/llvm/utils/TableGen/TGValueTypes.cpp
+++ b/llvm/utils/TableGen/TGValueTypes.cpp
@@ -25,6 +25,7 @@ namespace llvm {
class Type {
public:
virtual unsigned getSizeInBits() const = 0;
+ virtual ~Type() {}
};
}
OpenPOWER on IntegriCloud