summaryrefslogtreecommitdiff
path: root/src/theory/arrays/theory_arrays.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/arrays/theory_arrays.cpp')
-rw-r--r--src/theory/arrays/theory_arrays.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/theory/arrays/theory_arrays.cpp b/src/theory/arrays/theory_arrays.cpp
index d721b7e7a..dcf82e6b4 100644
--- a/src/theory/arrays/theory_arrays.cpp
+++ b/src/theory/arrays/theory_arrays.cpp
@@ -1476,18 +1476,21 @@ void TheoryArrays::check(Effort e) {
mayRep = d_mayEqualEqualityEngine.getRepresentative(r[0]);
iRep = d_equalityEngine.getRepresentative(r[1]);
std::pair<TNode, TNode> key(mayRep, iRep);
- ReadBucketMap::iterator it = d_readBucketTable.find(key);
- if (it == d_readBucketTable.end()) {
+ ReadBucketMap::iterator rbm_it = d_readBucketTable.find(key);
+ if (rbm_it == d_readBucketTable.end())
+ {
bucketList = new(true) CTNodeList(d_readTableContext);
d_readBucketAllocations.push_back(bucketList);
d_readBucketTable[key] = bucketList;
}
else {
- bucketList = it->second;
+ bucketList = rbm_it->second;
}
- CTNodeList::const_iterator it2 = bucketList->begin(), iend = bucketList->end();
- for (; it2 != iend; ++it2) {
- const TNode& r2 = *it2;
+ CTNodeList::const_iterator ctnl_it = bucketList->begin(),
+ ctnl_iend = bucketList->end();
+ for (; ctnl_it != ctnl_iend; ++ctnl_it)
+ {
+ const TNode& r2 = *ctnl_it;
Assert(r2.getKind() == kind::SELECT);
Assert(mayRep == d_mayEqualEqualityEngine.getRepresentative(r2[0]));
Assert(iRep == d_equalityEngine.getRepresentative(r2[1]));
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback