[llvm-commits] [llvm] r105620 - /llvm/trunk/lib/Support/DAGDeltaAlgorithm.cpp
Daniel Dunbar
daniel at zuster.org
Tue Jun 8 10:21:57 PDT 2010
Author: ddunbar
Date: Tue Jun 8 12:21:57 2010
New Revision: 105620
URL: http://llvm.org/viewvc/llvm-project?rev=105620&view=rev
Log:
Use const_iterator where appropriate.
Modified:
llvm/trunk/lib/Support/DAGDeltaAlgorithm.cpp
Modified: llvm/trunk/lib/Support/DAGDeltaAlgorithm.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/DAGDeltaAlgorithm.cpp?rev=105620&r1=105619&r2=105620&view=diff
==============================================================================
--- llvm/trunk/lib/Support/DAGDeltaAlgorithm.cpp (original)
+++ llvm/trunk/lib/Support/DAGDeltaAlgorithm.cpp Tue Jun 8 12:21:57 2010
@@ -290,7 +290,7 @@
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));
More information about the llvm-commits
mailing list