Skip to content

Commit df88b49

Browse files
Rename operand_to_process into expr_to_process
1 parent e0441cb commit df88b49

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/java_bytecode/java_string_library_preprocess.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,22 +288,23 @@ exprt::operandst java_string_library_preprocesst::process_parameters(
288288
}
289289

290290
/// Creates a string_exprt from the input exprt representing a char sequence
291-
/// \param op_to_process: an operand of a type which implements char sequence
291+
/// \param expr_to_process: an expression of a type which implements char
292+
/// sequence
292293
/// \param loc: location in the source
293294
/// \param symbol_table: symbol table
294295
/// \param init_code: code block, in which declaration of some arguments may be
295296
/// added
296297
/// \return the processed operand
297298
exprt java_string_library_preprocesst::convert_exprt_to_string_exprt(
298-
const exprt &op_to_process,
299+
const exprt &expr_to_process,
299300
const source_locationt &loc,
300301
symbol_tablet &symbol_table,
301302
code_blockt &init_code)
302303
{
303-
PRECONDITION(implements_java_char_sequence(op_to_process.type()));
304+
PRECONDITION(implements_java_char_sequence(expr_to_process.type()));
304305
string_exprt string_expr=fresh_string_expr(loc, symbol_table, init_code);
305306
code_assign_java_string_to_string_expr(
306-
string_expr, op_to_process, symbol_table, init_code);
307+
string_expr, expr_to_process, symbol_table, init_code);
307308
exprt string_expr_sym=fresh_string_expr_symbol(loc, symbol_table, init_code);
308309
init_code.add(code_assignt(string_expr_sym, string_expr));
309310
return string_expr;

0 commit comments

Comments
 (0)