Skip to content

Commit

Permalink
Rm resolved TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Jul 17, 2024
1 parent 14d51d5 commit 06ea5e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cdomains/apron/sharedFunctions.apron.ml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ struct
let append_summand (c:Coeff.union_5) v =
match V.to_cil_varinfo v with
| Some vinfo when IntDomain.Size.is_cast_injective ~from_type:vinfo.vtype ~to_type:(TInt(ILongLong,[])) ->
(* TODO: What to do with variables that have a type that cannot be stored into ILongLong to avoid overflows? *)
let var = Cilfacade.mkCast ~e:(Lval(Var vinfo,NoOffset)) ~newt:longlong in
let coeff, flip = coeff_to_const true c in
let prod = BinOp(Mult, coeff, var, longlong) in
Expand All @@ -291,7 +290,7 @@ struct


let lcm_den linexpr1 =
let exception UnsupportedScalar
let exception UnsupportedScalar
in
let frac_of_scalar scalar =
if Scalar.is_infty scalar <> 0 then (* infinity means unbounded *)
Expand Down

0 comments on commit 06ea5e0

Please sign in to comment.