Allow reducer interfaces to mutate the lists passed in
authorChris Lattner <sabre@nondot.org>
Thu, 24 Apr 2003 22:23:56 +0000 (22:23 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 24 Apr 2003 22:23:56 +0000 (22:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5909 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/ListReducer.h

index 1751c77b1853d4d1d21765de7a7ffa586f42edb5..7b9a2f1141249b11ba92801cd83d18a1958812f0 100644 (file)
@@ -23,8 +23,8 @@ struct ListReducer {
   // if the Kept list still satisfies the property, but if it is going to check
   // the prefix anyway, it can.
   //
-  virtual TestResult doTest(const std::vector<ElTy> &Prefix,
-                            const std::vector<ElTy> &Kept) = 0;
+  virtual TestResult doTest(std::vector<ElTy> &Prefix,
+                            std::vector<ElTy> &Kept) = 0;
 
   // reduceList - This function attempts to reduce the length of the specified
   // list while still maintaining the "test" property.  This is the core of the