Fix HashString's Bernstein hash to use unsigned chars, as is usually done.
[oota-llvm.git] / include / llvm / ADT / DeltaAlgorithm.h
index 0cf7c7c4665b3c6ab46da033039d94663ba38792..45ba19891d4f3dd965265409319e523339f1c2cf 100644 (file)
@@ -52,7 +52,7 @@ private:
   /// \return - The test result.
   bool GetTestResult(const changeset_ty &Changes);
 
-  /// Split - Partition a set of changes \arg Sinto one or two subsets.
+  /// Split - Partition a set of changes \arg S into one or two subsets.
   void Split(const changeset_ty &S, changesetlist_ty &Res);
 
   /// Delta - Minimize a set of \arg Changes which has been partioned into
@@ -78,6 +78,8 @@ protected:
   virtual bool ExecuteOneTest(const changeset_ty &S) = 0;
 
 public:
+  virtual ~DeltaAlgorithm();
+
   /// Run - Minimize the set \arg Changes by executing \see ExecuteOneTest() on
   /// subsets of changes and returning the smallest set which still satisfies
   /// the test predicate.