Skip to content

Commit

Permalink
Change non-equivalent pattern match back to original
Browse files Browse the repository at this point in the history
  • Loading branch information
karoliineh committed Sep 16, 2023
1 parent 3bf5268 commit d44f3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdomains/regionDomain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct
| Lval lval -> BatOption.map (fun (deref, v, offs) -> (deref, v, `NoOffset)) (eval_lval deref lval)
| AddrOf lval -> eval_lval deref lval
| CastE (typ, exp) -> eval_rval deref exp
| BinOp (_, p, i, typ) -> eval_rval deref p
| BinOp ((MinusPI | PlusPI | IndexPI), p, i, typ) -> eval_rval deref p
| _ -> None
and eval_lval deref lval =
match lval with
Expand Down

0 comments on commit d44f3de

Please sign in to comment.