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