projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18ed7b2
)
Use const_iterator where appropriate.
author
Daniel Dunbar
<daniel@zuster.org>
Tue, 8 Jun 2010 17:21:57 +0000
(17:21 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Tue, 8 Jun 2010 17:21:57 +0000
(17:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105620
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/DAGDeltaAlgorithm.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/DAGDeltaAlgorithm.cpp
b/lib/Support/DAGDeltaAlgorithm.cpp
index 4da3fe34c8837d871661c537b69506a318a1af38..814566494d3059d43faa2e894b896c1d3ef93837 100644
(file)
--- a/
lib/Support/DAGDeltaAlgorithm.cpp
+++ b/
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));