projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20d629c
)
Give tablegen's Type a destructor, to suppress spurious
author
Dan Gohman
<gohman@apple.com>
Tue, 4 Nov 2008 18:09:07 +0000
(18:09 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 4 Nov 2008 18:09:07 +0000
(18:09 +0000)
"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
utils/TableGen/TGValueTypes.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/TGValueTypes.cpp
b/utils/TableGen/TGValueTypes.cpp
index 9e62322a63a4915d0f0f057f7ddd53ae2f19dae1..8979e13f72baf95a78471fe8ca6e774e43f763a0 100644
(file)
--- a/
utils/TableGen/TGValueTypes.cpp
+++ b/
utils/TableGen/TGValueTypes.cpp
@@
-25,6
+25,7
@@
namespace llvm {
class Type {
public:
virtual unsigned getSizeInBits() const = 0;
+ virtual ~Type() {}
};
}