aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/bugpoint/ListReducer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/bugpoint/ListReducer.h b/tools/bugpoint/ListReducer.h
index 07c0a2d1dd..9e248ff1cc 100644
--- 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