Skip to content

Commit afcbe92

Browse files
peterschrammeltautschnig
authored andcommitted
Remove obsolete sourcecode element from graphml
1 parent 81722c8 commit afcbe92

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/goto-programs/graphml_witness.cpp

-11
Original file line numberDiff line numberDiff line change
@@ -542,17 +542,6 @@ void graphml_witnesst::operator()(const symex_target_equationt &equation)
542542
graphml[to].invariant_scope=
543543
id2string(it->source.pc->source_location.get_function());
544544
}
545-
else if(it->is_goto() &&
546-
it->source.pc->is_goto())
547-
{
548-
xmlt &val=edge.new_element("data");
549-
val.set_attribute("key", "sourcecode");
550-
exprt clean_cond=it->cond_expr;
551-
remove_l0_l1(clean_cond);
552-
const std::string cond=expr_to_string(ns, it->source.function, clean_cond);
553-
from_expr(ns, it->source.function, not_exprt(clean_cond));
554-
val.data="["+cond+"]";
555-
}
556545

557546
graphml[to].in[from].xml_node=edge;
558547
graphml[from].out[to].xml_node=edge;

0 commit comments

Comments
 (0)