diff options
author | Dan Gohman <gohman@apple.com> | 2008-11-04 18:09:07 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-11-04 18:09:07 +0000 |
commit | da71cf0ce95dae621ecd4e9cdb603b7b2d2ec33c (patch) | |
tree | bbd4eaa133ef82470dd4b5d7d010d1ed69fc78be /utils | |
parent | 20d629cb904fd5df05046a2eb43227a96d843448 (diff) |
Give tablegen's Type a destructor, to suppress spurious
"Type has virtual functions but non-virtual destructor"
warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/TGValueTypes.cpp | 1 |
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() {} }; } |