aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-24 22:23:56 +0000
committerChris Lattner <sabre@nondot.org>2003-04-24 22:23:56 +0000
commitb4ebe136434ada95e71ae81e2164c0c3a2d77f1e (patch)
treefd758e0104eadf07d90aa477873decd28d1e598e /tools
parentff4aaf0010d11a4c42f58f839336669d5fd7ba03 (diff)
downloadexternal_llvm-b4ebe136434ada95e71ae81e2164c0c3a2d77f1e.zip
external_llvm-b4ebe136434ada95e71ae81e2164c0c3a2d77f1e.tar.gz
external_llvm-b4ebe136434ada95e71ae81e2164c0c3a2d77f1e.tar.bz2
Allow reducer interfaces to mutate the lists passed in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/ListReducer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bugpoint/ListReducer.h b/tools/bugpoint/ListReducer.h
index 1751c77..7b9a2f1 100644
--- a/tools/bugpoint/ListReducer.h
+++ b/tools/bugpoint/ListReducer.h
@@ -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