Skip to content

Commit 5a594a8

Browse files
committed
Rename full_lhs_value to xml
In order to disambiguate it from `step.full_lhs_value`.
1 parent a214587 commit 5a594a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/goto-programs/xml_goto_trace.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ Author: Daniel Kroening
2727

2828
xmlt full_lhs_value(const goto_trace_stept &step, const namespacet &ns)
2929
{
30-
xmlt full_lhs_value{"full_lhs_value"};
30+
xmlt xml{"full_lhs_value"};
3131

3232
const auto &lhs_object = step.get_lhs_object();
3333
const irep_idt identifier =
3434
lhs_object.has_value() ? lhs_object->get_identifier() : irep_idt();
3535

3636
if(step.full_lhs_value.is_not_nil())
37-
full_lhs_value.data = from_expr(ns, identifier, step.full_lhs_value);
37+
xml.data = from_expr(ns, identifier, step.full_lhs_value);
3838

3939
if(
4040
const auto &type =
@@ -45,9 +45,9 @@ xmlt full_lhs_value(const goto_trace_stept &step, const namespacet &ns)
4545
const auto width = type->get_width();
4646
const auto binary_representation =
4747
integer2binary(bvrep2integer(constant->get_value(), width, false), width);
48-
full_lhs_value.set_attribute("binary", binary_representation);
48+
xml.set_attribute("binary", binary_representation);
4949
}
50-
return full_lhs_value;
50+
return xml;
5151
}
5252

5353
void convert(

0 commit comments

Comments
 (0)