summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim King <taking@google.com>2016-08-31 15:59:26 -0700
committerTim King <taking@google.com>2016-08-31 15:59:26 -0700
commitd6b840e521eef52a864f51fa18d6e86a6bf34f4a (patch)
tree5ec911a018c69e2a19c1eb8a6dedf6711f337a22
parent81faaf4023cd29af4fca72607dd59d1ab49821a0 (diff)
Cleaning up the dead FORIT macros.
-rw-r--r--src/theory/sets/theory_sets_private.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/theory/sets/theory_sets_private.cpp b/src/theory/sets/theory_sets_private.cpp
index 5f6a38032..dbe94ff4b 100644
--- a/src/theory/sets/theory_sets_private.cpp
+++ b/src/theory/sets/theory_sets_private.cpp
@@ -509,12 +509,9 @@ void TheorySetsPrivate::dumpAssertionsHumanified() const
(polarity ? members[right].first : members[right].second).insert(left);
}
}
- //#define FORIT(it, container) for(typeof((container).begin()) it=(container).begin(); (it) != (container).end(); ++(it))
- //FORIT(kt, equalities)
for(EqualityMap::const_iterator kt =equalities.begin(); kt != equalities.end(); ++kt) {
Trace(tag) << " Eq class of t" << numbering[(*kt).first] << ": " << std::endl;
- //FORIT(jt, (*kt).second)
const TNodeSet& kt_second = (*kt).second;
for(TNodeSet::const_iterator jt=kt_second.begin(); jt != kt_second.end(); ++jt) {
TNode S = (*jt);
@@ -538,11 +535,9 @@ void TheorySetsPrivate::dumpAssertionsHumanified() const
}
Trace(tag) << std::endl;
}
- //FORIT(kt, disequalities)
for(TNodePairSet::const_iterator kt=disequalities.begin(); kt != disequalities.end(); ++kt){
Trace(tag) << "NOT(t"<<numbering[(*kt).first]<<" = t" <<numbering[(*kt).second] <<")"<< std::endl;
}
- //FORIT(kt, members)
for(MemberMap::const_iterator kt=members.begin(); kt != members.end(); ++kt) {
const TNode& kt_key = (*kt).first;
const TNodeSet& kt_in_set = (*kt).second.first;
@@ -562,7 +557,6 @@ void TheorySetsPrivate::dumpAssertionsHumanified() const
}
if( kt_out_set.size() > 0) {
Trace(tag) << "NOT IN t" << numbering[kt_key] << ": ";
- //FORIT(jt, (*kt).second.second)
for(TNodeSet::const_iterator jt=kt_out_set.begin(); jt != kt_out_set.end(); ++jt){
TNode x = (*jt);
if(x.isConst() || numbering.find(d_equalityEngine.getRepresentative(x)) == numbering.end()) {
@@ -575,7 +569,6 @@ void TheorySetsPrivate::dumpAssertionsHumanified() const
}
}
Trace(tag) << std::endl;
- //#undef FORIT
}
void TheorySetsPrivate::computeCareGraph() {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback