mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 05:31:51 +00:00
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:
parent
20d629cb90
commit
da71cf0ce9
@ -25,6 +25,7 @@ namespace llvm {
|
|||||||
class Type {
|
class Type {
|
||||||
public:
|
public:
|
||||||
virtual unsigned getSizeInBits() const = 0;
|
virtual unsigned getSizeInBits() const = 0;
|
||||||
|
virtual ~Type() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user