Module ClangFrontend.CArithmetic_trans

Utility module for translating unary, binary, and atomic operations and compound assignments

val bin_op_to_string : ATDGenerated.Clang_ast_t.binary_operator_info -> string

Returns a pair (binary_expression, instructions) for binary operator representing a CompoundAssignment. binary_expression is returned when we are calculating an expression instructions is not empty when the binary operator is actually a statement like an assignment.

val sil_const_plus_one : IR.Exp.t -> IR.Exp.t