Skip to content

Commit

Permalink
Make IntDomLifter show similar to pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
karoliineh committed Jan 2, 2024
1 parent 19fe5fc commit 1864fed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cdomains/intDomain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,11 @@ struct
let widen = lift2 I.widen
let narrow = lift2 I.narrow

let show x = I.show x.v (* TODO add ikind to output *)
let show x =
if I.is_top_of x.ikind x.v then
""
else
I.show x.v (* TODO add ikind to output *)
let pretty () x =
if I.is_top_of x.ikind x.v then
Pretty.text ""
Expand Down

0 comments on commit 1864fed

Please sign in to comment.