Module InferIR__IssueLog

Module to store a map from procnames to error logs. Starts with an empty map.

val iter : (InferIR.Typ.Procname.t ‑> InferIR.Errlog.t ‑> unit) ‑> unit

iterate a function on map contents

val get_errlog : InferIR.Typ.Procname.t ‑> InferIR.Errlog.t

Get the error log for a given procname. If not present, then add the association from procname to an empty error log and return the latter.

val store : string ‑> InferBase.SourceFile.t ‑> unit

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

val load : string ‑> unit

load directory resets the issue map first, then walks infer-out/directory, merging all maps stored in the found files into the current map.