@@ -22,7 +22,7 @@ void function_assignst::get_assigns(
22
22
const goto_programt::const_targett i_it,
23
23
assignst &assigns)
24
24
{
25
- const goto_programt::instructiont &instruction= *i_it;
25
+ const goto_programt::instructiont &instruction = *i_it;
26
26
27
27
if (instruction.is_assign ())
28
28
{
@@ -44,34 +44,33 @@ void function_assignst::get_assigns_function(
44
44
const exprt &function,
45
45
assignst &assigns)
46
46
{
47
- if (function.id ()== ID_symbol)
47
+ if (function.id () == ID_symbol)
48
48
{
49
- const irep_idt &identifier= to_symbol_expr (function).get_identifier ();
49
+ const irep_idt &identifier = to_symbol_expr (function).get_identifier ();
50
50
51
- function_mapt::const_iterator fm_it=
52
- function_map.find (identifier);
51
+ function_mapt::const_iterator fm_it = function_map.find (identifier);
53
52
54
- if (fm_it!= function_map.end ())
53
+ if (fm_it != function_map.end ())
55
54
{
56
55
// already done
57
56
assigns.insert (fm_it->second .begin (), fm_it->second .end ());
58
57
return ;
59
58
}
60
59
61
- goto_functionst::function_mapt::const_iterator
62
- f_it= goto_functions.function_map .find (identifier);
60
+ goto_functionst::function_mapt::const_iterator f_it =
61
+ goto_functions.function_map .find (identifier);
63
62
64
- if (f_it== goto_functions.function_map .end ())
63
+ if (f_it == goto_functions.function_map .end ())
65
64
return ;
66
65
67
66
local_may_aliast local_may_alias (f_it->second );
68
67
69
- const goto_programt &goto_program= f_it->second .body ;
68
+ const goto_programt &goto_program = f_it->second .body ;
70
69
71
70
forall_goto_program_instructions (i_it, goto_program)
72
71
get_assigns (local_may_alias, i_it, assigns);
73
72
}
74
- else if (function.id ()== ID_if)
73
+ else if (function.id () == ID_if)
75
74
{
76
75
get_assigns_function (to_if_expr (function).true_case (), assigns);
77
76
get_assigns_function (to_if_expr (function).false_case (), assigns);
0 commit comments