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
This commit is contained in:
Dan Gohman 2008-11-04 18:09:07 +00:00
parent 20d629cb90
commit da71cf0ce9

View File

@ -25,6 +25,7 @@ namespace llvm {
class Type { class Type {
public: public:
virtual unsigned getSizeInBits() const = 0; virtual unsigned getSizeInBits() const = 0;
virtual ~Type() {}
}; };
} }