mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
DeltaAlgorithm: Add a virtual destructor and home.
llvm-svn: 90957
This commit is contained in:
parent
e0207b46d2
commit
a8dc0ca084
@ -78,6 +78,8 @@ protected:
|
|||||||
virtual bool ExecuteOneTest(const changeset_ty &S) = 0;
|
virtual bool ExecuteOneTest(const changeset_ty &S) = 0;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
virtual ~DeltaAlgorithm();
|
||||||
|
|
||||||
/// Run - Minimize the set \arg Changes by executing \see ExecuteOneTest() on
|
/// Run - Minimize the set \arg Changes by executing \see ExecuteOneTest() on
|
||||||
/// subsets of changes and returning the smallest set which still satisfies
|
/// subsets of changes and returning the smallest set which still satisfies
|
||||||
/// the test predicate.
|
/// the test predicate.
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
#include <iterator>
|
#include <iterator>
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
|
DeltaAlgorithm::~DeltaAlgorithm() {
|
||||||
|
}
|
||||||
|
|
||||||
bool DeltaAlgorithm::GetTestResult(const changeset_ty &Changes) {
|
bool DeltaAlgorithm::GetTestResult(const changeset_ty &Changes) {
|
||||||
if (FailedTestsCache.count(Changes))
|
if (FailedTestsCache.count(Changes))
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user