summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/DAGDeltaAlgorithm.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-08 17:21:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-08 17:21:57 +0000
commit5729f51410e37f5d940f57f5c77d29b8f222e47d (patch)
treee33dc5530feb542bac79390f64a464f7e20ffe39 /llvm/lib/Support/DAGDeltaAlgorithm.cpp
parent30fdc8d841c9d24ac5f3d452b6ece84ee0ac991c (diff)
downloadbcm5719-llvm-5729f51410e37f5d940f57f5c77d29b8f222e47d.tar.gz
bcm5719-llvm-5729f51410e37f5d940f57f5c77d29b8f222e47d.zip
Use const_iterator where appropriate.
llvm-svn: 105620
Diffstat (limited to 'llvm/lib/Support/DAGDeltaAlgorithm.cpp')
-rw-r--r--llvm/lib/Support/DAGDeltaAlgorithm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/DAGDeltaAlgorithm.cpp b/llvm/lib/Support/DAGDeltaAlgorithm.cpp
index 4da3fe34c88..814566494d3 100644
--- a/llvm/lib/Support/DAGDeltaAlgorithm.cpp
+++ b/llvm/lib/Support/DAGDeltaAlgorithm.cpp
@@ -290,7 +290,7 @@ bool DAGDeltaAlgorithmImpl::GetTestResult(const changeset_ty &Changes,
const changeset_ty &Required) {
changeset_ty Extended(Required);
Extended.insert(Changes.begin(), Changes.end());
- for (changeset_ty::iterator it = Changes.begin(),
+ for (changeset_ty::const_iterator it = Changes.begin(),
ie = Changes.end(); it != ie; ++it)
Extended.insert(pred_closure_begin(*it), pred_closure_end(*it));
OpenPOWER on IntegriCloud