<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>IssueLog (infer.Absint.IssueLog)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">Absint</a>» IssueLog</nav><h1>Module <code>Absint.IssueLog</code></h1></header><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt><dd><p>Module for storing issues detected outside of per-procedure analysis (and hence not serialized as a part of procedure summary).</p></dd></dl><dl><dtclass="spec value"id="val-empty"><ahref="#val-empty"class="anchor"></a><code><spanclass="keyword">val</span> empty : <ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-iter"><ahref="#val-iter"class="anchor"></a><code><spanclass="keyword">val</span> iter : <span>f:<span>(<ahref="../../IR/Procname/index.html#type-t">IR.Procname.t</a><span>-></span><ahref="../Errlog/index.html#type-t">Errlog.t</a><span>-></span> unit)</span></span><span>-></span><ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dd><p>iterate a function on map contents</p></dd></dl><dl><dtclass="spec value"id="val-get_or_add"><ahref="#val-get_or_add"class="anchor"></a><code><spanclass="keyword">val</span> get_or_add : <span>proc:<ahref="../../IR/Procname/index.html#type-t">IR.Procname.t</a></span><span>-></span><ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a> * <ahref="../Errlog/index.html#type-t">Errlog.t</a></code></dt><dd><p>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.</p></dd></dl><dl><dtclass="spec value"id="val-store"><ahref="#val-store"class="anchor"></a><code><spanclass="keyword">val</span> store : <span>entry:<ahref="../../IBase/ResultsDirEntryName/index.html#type-id">IBase.ResultsDirEntryName.id</a></span><span>-></span><span>file:<ahref="../../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a></span><span>-></span><ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dd><p>If there are any issues in the log, <code>store ~entry ~file</code> stores map to <code>infer-out/entry/file</code>. Otherwise, no file is written.</p></dd></dl><dl><dtclass="spec value"id="val-load"><ahref="#val-load"class="anchor"></a><code><spanclass="keyword">val</span> load : <ahref="../../IBase/ResultsDirEntryName/index.html#type-id">IBase.ResultsDirEntryName.id</a><span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p><code>load entry</code> walks <code>infer-out/entry</code>, merging maps stored in files into one map.</p></dd></dl></div></body></html>