Skip to content

Commit 171d0c2

Browse files
committed
Clang-format renamed file
1 parent 84d272f commit 171d0c2

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

src/goto-instrument/function_assigns.cpp

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void function_assignst::get_assigns(
2222
const goto_programt::const_targett i_it,
2323
assignst &assigns)
2424
{
25-
const goto_programt::instructiont &instruction=*i_it;
25+
const goto_programt::instructiont &instruction = *i_it;
2626

2727
if(instruction.is_assign())
2828
{
@@ -44,34 +44,33 @@ void function_assignst::get_assigns_function(
4444
const exprt &function,
4545
assignst &assigns)
4646
{
47-
if(function.id()==ID_symbol)
47+
if(function.id() == ID_symbol)
4848
{
49-
const irep_idt &identifier=to_symbol_expr(function).get_identifier();
49+
const irep_idt &identifier = to_symbol_expr(function).get_identifier();
5050

51-
function_mapt::const_iterator fm_it=
52-
function_map.find(identifier);
51+
function_mapt::const_iterator fm_it = function_map.find(identifier);
5352

54-
if(fm_it!=function_map.end())
53+
if(fm_it != function_map.end())
5554
{
5655
// already done
5756
assigns.insert(fm_it->second.begin(), fm_it->second.end());
5857
return;
5958
}
6059

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);
6362

64-
if(f_it==goto_functions.function_map.end())
63+
if(f_it == goto_functions.function_map.end())
6564
return;
6665

6766
local_may_aliast local_may_alias(f_it->second);
6867

69-
const goto_programt &goto_program=f_it->second.body;
68+
const goto_programt &goto_program = f_it->second.body;
7069

7170
forall_goto_program_instructions(i_it, goto_program)
7271
get_assigns(local_may_alias, i_it, assigns);
7372
}
74-
else if(function.id()==ID_if)
73+
else if(function.id() == ID_if)
7574
{
7675
get_assigns_function(to_if_expr(function).true_case(), assigns);
7776
get_assigns_function(to_if_expr(function).false_case(), assigns);

0 commit comments

Comments
 (0)