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:
parent
aed2dfe3f6
commit
171432bfe1
@ -25,6 +25,7 @@ namespace llvm {
|
||||
class Type {
|
||||
public:
|
||||
virtual unsigned getSizeInBits() const = 0;
|
||||
virtual ~Type() {}
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user