[llvm-commits] CVS: llvm/tools/bugpoint/ListReducer.h
Chris Lattner
lattner at cs.uiuc.edu
Tue May 11 15:41:04 PDT 2004
Changes in directory llvm/tools/bugpoint:
ListReducer.h updated: 1.9 -> 1.10
---
Log message:
A class that is meant to be a base class should have a virtual destructor
---
Diffs of the changes: (+2 -0)
Index: llvm/tools/bugpoint/ListReducer.h
diff -u llvm/tools/bugpoint/ListReducer.h:1.9 llvm/tools/bugpoint/ListReducer.h:1.10
--- llvm/tools/bugpoint/ListReducer.h:1.9 Sat Nov 29 14:04:13 2003
+++ llvm/tools/bugpoint/ListReducer.h Tue May 11 15:41:07 2004
@@ -28,6 +28,8 @@
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
More information about the llvm-commits
mailing list