1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

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 aed2dfe3f6
commit 171432bfe1

View File

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