Skip to content

Commit a83daa7

Browse files
Lukasz A.J. Wronaromainbrenguier
Lukasz A.J. Wrona
authored andcommitted
Minor indentation, naming and const-fixes
1 parent 15fd1b4 commit a83daa7

File tree

5 files changed

+66
-93
lines changed

5 files changed

+66
-93
lines changed

src/java_bytecode/java_string_library_preprocess.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ symbol_exprt java_string_library_preprocesst::fresh_array(
251251
/// \param function_name: a name
252252
/// \param type: a type
253253
/// \param symbol_table: symbol table
254-
void declare_function(
254+
static void declare_function(
255255
irep_idt function_name,
256256
const typet &type,
257257
symbol_tablet &symbol_table)
@@ -618,7 +618,7 @@ exprt make_function_application(
618618
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
619619
/// lhs = <function_name>(arguments)
620620
/// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
621-
codet code_assign_function_application(
621+
static codet code_assign_function_application(
622622
const exprt &lhs,
623623
const irep_idt &function_name,
624624
const exprt::operandst &arguments,

src/java_bytecode/java_string_library_preprocess.h

-11
Original file line numberDiff line numberDiff line change
@@ -324,23 +324,12 @@ class java_string_library_preprocesst:public messaget
324324
exprt get_object_at_index(const exprt &argv, int index);
325325
};
326326

327-
void declare_function(
328-
irep_idt function_name,
329-
const typet &type,
330-
symbol_tablet &symbol_table);
331-
332327
exprt make_function_application(
333328
const irep_idt &function_name,
334329
const exprt::operandst &arguments,
335330
const typet &type,
336331
symbol_tablet &symbol_table);
337332

338-
codet code_assign_function_application(
339-
const exprt &lhs,
340-
const irep_idt &function_name,
341-
const exprt::operandst &arguments,
342-
symbol_tablet &symbol_table);
343-
344333
exprt make_nondet_infinite_char_array(
345334
symbol_tablet &symbol_table,
346335
const source_locationt &loc,

0 commit comments

Comments
 (0)