This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>InferIR__IssueLog (InferIR.InferIR__IssueLog)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc %%VERSION%%"/><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">InferIR</a>» InferIR__IssueLog</nav><h1>Module <code>InferIR__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 maps from procnames to error logs.</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="../InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a><span>-></span><ahref="../InferIR/Errlog/index.html#type-t">InferIR.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="../InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a></span><span>-></span><ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a> * <ahref="../InferIR/Errlog/index.html#type-t">InferIR.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>dir:string</span><span>-></span><span>file:<ahref="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.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 ~dir ~file</code> stores map to <code>infer-out/dir/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 : string <span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p><code>load directory</code> walks <code>infer-out/directory</code>, merging maps stored in files into one map.</p></dd></dl></div></body></html>