Skip to content

Commit 6997a76

Browse files
Apply clang-format suggestions
No functional changes.
1 parent c9a44e3 commit 6997a76

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

jbmc/src/java_bytecode/java_string_library_preprocess.cpp

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,8 @@ exprt::operandst java_string_library_preprocesst::process_operands(
336336
for(const auto &p : operands)
337337
{
338338
if(implements_java_char_sequence_pointer(p.type()))
339-
ops.push_back(
340-
convert_exprt_to_string_exprt(
341-
p, loc, symbol_table, function_id, init_code));
339+
ops.push_back(convert_exprt_to_string_exprt(
340+
p, loc, symbol_table, function_id, init_code));
342341
else if(is_java_char_array_pointer_type(p.type()))
343342
ops.push_back(
344343
replace_char_array(p, loc, function_id, symbol_table, init_code));
@@ -370,17 +369,15 @@ java_string_library_preprocesst::process_equals_function_operands(
370369
const exprt &op1 = operands[1];
371370
PRECONDITION(implements_java_char_sequence_pointer(op0.type()));
372371

373-
ops.push_back(
374-
convert_exprt_to_string_exprt(
375-
op0, loc, symbol_table, loc.get_function(), init_code));
372+
ops.push_back(convert_exprt_to_string_exprt(
373+
op0, loc, symbol_table, loc.get_function(), init_code));
376374

377375
// TODO: Manage the case where we have a non-String Object (this should
378376
// probably be handled upstream. At any rate, the following code should be
379377
// protected with assertions on the type of op1.
380378
const typecast_exprt tcast(op1, to_pointer_type(op0.type()));
381-
ops.push_back(
382-
convert_exprt_to_string_exprt(
383-
tcast, loc, symbol_table, loc.get_function(), init_code));
379+
ops.push_back(convert_exprt_to_string_exprt(
380+
tcast, loc, symbol_table, loc.get_function(), init_code));
384381
return ops;
385382
}
386383

0 commit comments

Comments
 (0)