mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 19:24:21 +00: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
dd571d325e
commit
daca2240b1
@ -25,6 +25,7 @@ namespace llvm {
|
||||
class Type {
|
||||
public:
|
||||
virtual unsigned getSizeInBits() const = 0;
|
||||
virtual ~Type() {}
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user