Skip to content
Snippets Groups Projects
Commit a7b9ef95 authored by David Bühler's avatar David Bühler
Browse files

[Eva] Clarifies the documentation of [replace_base] in lmap and locations.

parent 133e377f
No related branches found
No related tags found
No related merge requests found
...@@ -151,7 +151,8 @@ val filter_by_shape: 'a Hptmap.Shape(Base.Base).t -> t -> t ...@@ -151,7 +151,8 @@ val filter_by_shape: 'a Hptmap.Shape(Base.Base).t -> t -> t
val remove_base : Base.t -> t -> t val remove_base : Base.t -> t -> t
(** [replace_bases substitition map] replaces some bases in [map] (** [replace_bases substitition map] replaces some bases in [map]
according to [substitution]. *) according to [substitution]. If [substitution] conflates different bases,
the offsetmaps bound to these bases are joined. *)
val replace_base: Base.substitution -> t -> t val replace_base: Base.substitution -> t -> t
......
...@@ -80,7 +80,8 @@ module Location_Bytes : sig ...@@ -80,7 +80,8 @@ module Location_Bytes : sig
val replace_base: Base.substitution -> t -> bool * t val replace_base: Base.substitution -> t -> bool * t
(** [replace_base subst loc] changes the location [loc] by substituting the (** [replace_base subst loc] changes the location [loc] by substituting the
pointed bases according to [subst]. *) pointed bases according to [subst]. If [substitution] conflates different
bases, the offsets bound to these bases are joined. *)
val diff : t -> t -> t val diff : t -> t -> t
(** Over-approximation of difference. [arg2] needs to be exact or an (** Over-approximation of difference. [arg2] needs to be exact or an
......
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