Skip to content

Commit 6425dea

Browse files
peterschrammeltautschnig
authored andcommitted
Remove obsolete sourcecode element from graphml
1 parent 40bd81a commit 6425dea

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/goto-programs/graphml_witness.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -532,17 +532,6 @@ void graphml_witnesst::operator()(const symex_target_equationt &equation)
532532
graphml[to].invariant_scope=
533533
id2string(it->source.pc->source_location.get_function());
534534
}
535-
else if(it->is_goto() &&
536-
it->source.pc->is_goto())
537-
{
538-
xmlt &val=edge.new_element("data");
539-
val.set_attribute("key", "sourcecode");
540-
exprt clean_cond=it->cond_expr;
541-
remove_l0_l1(clean_cond);
542-
const std::string cond=from_expr(ns, "", clean_cond);
543-
from_expr(ns, "", not_exprt(clean_cond));
544-
val.data="["+cond+"]";
545-
}
546535

547536
graphml[to].in[from].xml_node=edge;
548537
graphml[from].out[to].xml_node=edge;

0 commit comments

Comments
 (0)