[llvm-commits] CVS: llvm/tools/bugpoint/ListReducer.h

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 24 17:25:00 PDT 2003


Changes in directory llvm/tools/bugpoint:

ListReducer.h updated: 1.1 -> 1.2

---
Log message:

Allow reducer interfaces to mutate the lists passed in


---
Diffs of the changes:

Index: llvm/tools/bugpoint/ListReducer.h
diff -u llvm/tools/bugpoint/ListReducer.h:1.1 llvm/tools/bugpoint/ListReducer.h:1.2
--- llvm/tools/bugpoint/ListReducer.h:1.1	Thu Apr 24 15:16:29 2003
+++ llvm/tools/bugpoint/ListReducer.h	Thu Apr 24 17:23:56 2003
@@ -23,8 +23,8 @@
   // 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





More information about the llvm-commits mailing list