Renamed typedef "iterator" in ValueState to "vb_iterator" (for "VariableBindings").
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46755 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Analysis/GRConstants.cpp b/Analysis/GRConstants.cpp
index 6a1c771..a156cdb 100644
--- a/Analysis/GRConstants.cpp
+++ b/Analysis/GRConstants.cpp
@@ -290,7 +290,7 @@
StateTy PrevState = builder.getState();
// Remove old bindings for subexpressions.
- for (StateTy::iterator I=PrevState.begin(), E=PrevState.end(); I!=E; ++I)
+ for (StateTy::vb_iterator I=PrevState.begin(), E=PrevState.end(); I!=E; ++I)
if (I.getKey().isSubExpr())
PrevState = StateMgr.Remove(PrevState, I.getKey());
@@ -453,7 +453,7 @@
GRConstants::StateTy GRConstants::RemoveDeadBindings(Stmt* Loc, StateTy M) {
// Note: in the code below, we can assign a new map to M since the
// iterators are iterating over the tree of the *original* map.
- StateTy::iterator I = M.begin(), E = M.end();
+ StateTy::vb_iterator I = M.begin(), E = M.end();
for (; I!=E && !I.getKey().isSymbol(); ++I) {
@@ -887,7 +887,7 @@
VarBindKey::Kind kind, bool isFirstGroup = false) {
bool isFirst = true;
- for (GRConstants::StateTy::iterator I=M.begin(), E=M.end();I!=E;++I) {
+ for (GRConstants::StateTy::vb_iterator I=M.begin(), E=M.end();I!=E;++I) {
if (I.getKey().getKind() != kind)
continue;