Give tablegen's Type a destructor, to suppress spurious

"Type has virtual functions but non-virtual destructor"
warnings.

llvm-svn: 58710
This commit is contained in:
Dan Gohman 2008-11-04 18:09:07 +00:00
parent dd571d325e
commit daca2240b1

View File

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