Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 873c5ec0 authored by Thierry Martinez's avatar Thierry Martinez
Browse files

Preserve casts

parent f8e886d6
No related branches found
No related tags found
No related merge requests found
Pipeline #107643 failed
......@@ -323,8 +323,10 @@ let transform = object (self)
qual_type = { desc = Pointer { desc = BuiltinType Void; _ }; _};
operand = { desc = IntegerLiteral (Int 0); _ }} ->
expr, monoid#zero
(*
| Cast { operand; _ } ->
self#visit_expr env { expr with desc = operand.desc }
*)
(* liftConditionals *)
| ConditionalOperator { cond; then_branch; else_branch } ->
let then_branch =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment