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:
8436c21
)
A class that is meant to be a base class should have a virtual destructor
author
Chris Lattner
<sabre@nondot.org>
Tue, 11 May 2004 20:41:07 +0000
(20:41 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 11 May 2004 20:41:07 +0000
(20:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13470
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/ListReducer.h
patch
|
blob
|
history
diff --git
a/tools/bugpoint/ListReducer.h
b/tools/bugpoint/ListReducer.h
index 07c0a2d1dd1ff5de91021b553b24f5adb612c177..9e248ff1ccd5eaeb5017d020ef301192f0347419 100644
(file)
--- a/
tools/bugpoint/ListReducer.h
+++ b/
tools/bugpoint/ListReducer.h
@@
-28,6
+28,8
@@
struct ListReducer {
KeepPrefix, // The prefix alone satisfies the predicate
};
+ virtual ~ListReducer() {}
+
// doTest - This virtual function should be overriden by subclasses to
// implement the test desired. The testcase is only required to test to see
// if the Kept list still satisfies the property, but if it is going to check