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
4.8 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Rearrange (infer.InferModules.Rearrange)</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; Rearrange</nav><h1>Module <code>InferModules.Rearrange</code></h1></header><aside><p>Re-arrangement and extension of structures with fresh variables</p></aside><dl><dt class="spec exception" id="exception-ARRAY_ACCESS"><a href="#exception-ARRAY_ACCESS" class="anchor"></a><code><span class="keyword">exception</span> </code><code><span class="exception">ARRAY_ACCESS</span></code></dt></dl><dl><dt class="spec value" id="val-is_only_pt_by_fld_or_param_nonnull"><a href="#val-is_only_pt_by_fld_or_param_nonnull" class="anchor"></a><code><span class="keyword">val</span> is_only_pt_by_fld_or_param_nonnull : <a href="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <span><a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a></span> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-check_dereference_error"><a href="#val-check_dereference_error" class="anchor"></a><code><span class="keyword">val</span> check_dereference_error : <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> <span>&#45;&gt;</span> <span><a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a></span> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> <span>&#45;&gt;</span> <a href="../../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Check for dereference errors: dereferencing 0, a freed value, or an undefined value</p></dd></dl><dl><dt class="spec value" id="val-check_call_to_objc_block_error"><a href="#val-check_call_to_objc_block_error" class="anchor"></a><code><span class="keyword">val</span> check_call_to_objc_block_error : <a href="../../../InferIR/InferIR/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Procdesc/index.html#type-t">InferIR.Procdesc.t</a> <span>&#45;&gt;</span> <span><a href="../Prop/index.html#type-normal">Prop.normal</a> <a href="../Prop/index.html#type-t">Prop.t</a></span> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> <span>&#45;&gt;</span> <a href="../../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>Check that an expression representing an objc block can be null and raise a <code>B1</code> null exception. It's used to check that we don't call possibly null blocks</p></dd></dl><dl><dt class="spec value" id="val-rearrange"><a href="#val-rearrange" class="anchor"></a><code><span class="keyword">val</span> rearrange : <span>?&#8288;report_deref_errors:bool</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/Tenv/index.html#type-t">InferIR.Tenv.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Exp/index.html#type-t">InferIR.Exp.t</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Typ/index.html#type-t">InferIR.Typ.t</a> <span>&#45;&gt;</span> <span><a href="