You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
24 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>EradicateChecks (infer.InferModules.EradicateChecks)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">InferModules</a> &#x00BB; EradicateChecks</nav><h1>Module <code>InferModules.EradicateChecks</code></h1></header><aside><p>Module for the checks called by Eradicate.</p></aside><dl><dt class="spec value" id="val-get_field_annotation"><a href="#val-get_field_annotation" class="anchor"></a><code><span class="keyword">val</span> get_field_annotation : <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR__Typ/Fieldname/index.html#type-t">InferIR__Typ.Fieldname.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR__Typ/index.html#type-typ">InferIR__Typ.typ</a> <span>&#45;&gt;</span> <span><span>(<a href="../../../InferIR/InferIR__Typ/index.html#type-typ">InferIR__Typ.typ</a> * <a href="../../../InferIR/InferIR/Annot/Item/index.html#type-t">InferIR.Annot.Item.t</a>)</span> option</span></code></dt><dt class="spec value" id="val-report_error"><a href="#val-report_error" class="anchor"></a><code><span class="keyword">val</span> report_error : <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <span>(<a href="../../../InferIR/InferIR/Procdesc/Node/index.html#type-t">InferIR.Procdesc.Node.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Procdesc/Node/index.html#type-t">InferIR.Procdesc.Node.t</a>)</span> <span>&#45;&gt;</span> <a href="../TypeErr/index.html#type-err_instance">TypeErr.err_instance</a> <span>&#45;&gt;</span> <span><a href="../TypeErr/InstrRef/index.html#type-t">TypeErr.InstrRef.t</a> option</span> <span>&#45;&gt;</span> <a href="../../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-explain_expr"><a href="#val-explain_expr" class="anchor"></a><code><span class="keyword">val</span> explain_expr : <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Procdesc/Node/index.html#type-t">InferIR.Procdesc.Node.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> <span>&#45;&gt;</span> <span>string option</span></code></dt><dt class="spec value" id="val-is_virtual"><a href="#val-is_virtual" class="anchor"></a><code><span class="keyword">val</span> is_virtual : <span><span>(<a href="../../../InferIR/InferIR/Mangled/index.html#type-t">InferIR.Mangled.t</a> * <span class="type-var">'a</span> * <span class="type-var">'b</span>)</span> list</span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-check_field_access"><a href="#val-check_field_access" class="anchor"></a><code><span class="keyword">val</span> check_field_access : <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <span>(<a href="../../../InferIR/InferIR/Procdesc/Node/index.html#type-t">InferIR.Procdesc.Node.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Procdesc/Node/index.html#type-t">InferIR.Procdesc.Node.t</a>)</span> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Procdesc/Node/index.html#type-t">InferIR.Procdesc.Node.t</a> <span>&#45;&gt;</span> <a href="../TypeErr/InstrRef/index.html#type-t">TypeErr.InstrRef.t</a> <span>&#45;&gt;</spa