1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

A class that is meant to be a base class should have a virtual destructor

llvm-svn: 13470
This commit is contained in:
Chris Lattner 2004-05-11 20:41:07 +00:00
parent b1f605ab70
commit c698aea90a

View File

@ -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