Skip to content

Commit 98f139d

Browse files
committed
Rename full_lhs_value to value_xml
In order to disambiguate it from `step.full_lhs_value`.
1 parent 4db7ed0 commit 98f139d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/goto-programs/xml_goto_trace.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ 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 value_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_nil())
37-
return full_lhs_value;
38-
full_lhs_value.data = from_expr(ns, identifier, step.full_lhs_value);
37+
return value_xml;
38+
value_xml.data = from_expr(ns, identifier, step.full_lhs_value);
3939

4040
const auto &bv_type =
4141
type_try_dynamic_cast<bitvector_typet>(step.full_lhs_value.type());
@@ -46,9 +46,9 @@ xmlt full_lhs_value(const goto_trace_stept &step, const namespacet &ns)
4646
const auto width = bv_type->get_width();
4747
const auto binary_representation =
4848
integer2binary(bvrep2integer(constant->get_value(), width, false), width);
49-
full_lhs_value.set_attribute("binary", binary_representation);
49+
value_xml.set_attribute("binary", binary_representation);
5050
}
51-
return full_lhs_value;
51+
return value_xml;
5252
}
5353

5454
void convert(

0 commit comments

Comments
 (0)