Skip to content

Commit 4763289

Browse files
committed
Clang format
1 parent f85b0ec commit 4763289

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/ansi-c/expr2c.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2317,12 +2317,10 @@ std::string expr2ct::convert_rox(const shift_exprt &src, unsigned precedence)
23172317
UNREACHABLE;
23182318
}
23192319
// Construct the "width(AAAA)" constant
2320-
const exprt width_expr =
2321-
from_integer(type_width, src.distance().type());
2320+
const exprt width_expr = from_integer(type_width, src.distance().type());
23222321
// Apply modulo to n since shifting will overflow
23232322
// That is: 0001 << 4 == 0, but 0001 rol 4 == 0001
2324-
const exprt distance_modulo_width =
2325-
mod_exprt(src.distance(), width_expr);
2323+
const exprt distance_modulo_width = mod_exprt(src.distance(), width_expr);
23262324
// Now put the pieces together
23272325
// width(AAAA) - (n % width(AAAA))
23282326
const auto complement_width_expr =

0 commit comments

Comments
 (0)