Module InferIR__IssueLog

type t

Module for maps from procnames to error logs.

val empty : t
val iter : f:(InferIR.Typ.Procname.t -> InferIR.Errlog.t -> unit) -> t -> unit

iterate a function on map contents

val get_or_add : proc:InferIR.Typ.Procname.t -> t -> t * InferIR.Errlog.t

Get the error log for a given procname. If there is none, add an empty one to the map. Return the resulting map together with the errlog.

val store : dir:string -> file:InferBase.SourceFile.t -> t -> unit

If there are any issues in the log, store ~dir ~file stores map to infer-out/dir/file. Otherwise, no file is written.

val load : string -> t

load directory walks infer-out/directory, merging maps stored in files into one map.