We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1957426 + 03c86a8 commit dc769f1Copy full SHA for dc769f1
src/pointer-analysis/value_set.cpp
@@ -121,7 +121,7 @@ void value_sett::output(
121
{
122
#if 0
123
const symbolt &symbol=ns.lookup(e.identifier);
124
- display_name=symbol.display_name()+e.suffix;
+ display_name=id2string(symbol.display_name())+e.suffix;
125
identifier=symbol.name;
126
#else
127
identifier=id2string(e.identifier);
@@ -880,14 +880,11 @@ void value_sett::get_value_set_rec(
880
#endif
881
}
882
883
- #if 0
+ #ifdef DEBUG
884
std::cout << "GET_VALUE_SET_REC RESULT:\n";
885
- for(object_map_dt::const_iterator
886
- it=dest.read().begin();
887
- it!=dest.read().end();
888
- it++)
+ for(const auto &obj : dest.read())
889
890
- const exprt &e=to_expr(it);
+ const exprt &e=to_expr(obj);
891
std::cout << " " << from_expr(ns, "", e) << "\n";
892
893
std::cout << "\n";
0 commit comments