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.
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CMethodSignature (infer.InferModules.CMethodSignature)</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> » <a href="../index.html">InferModules</a> » CMethodSignature</nav><h1>Module <code>InferModules.CMethodSignature</code></h1></header><aside><p>Define the signature of a method consisting of its name, its arguments, return type, location and whether its an instance method.</p></aside><dl><dt class="spec type" id="type-param_type"><a href="#type-param_type" class="anchor"></a><code><span class="keyword">type</span> param_type</code><code> = </code><code>{</code><table class="record"><tr id="type-param_type.name" class="anchored"><td class="def field"><a href="#type-param_type.name" class="anchor"></a><code>name : <a href="../../../InferIR/InferIR/Mangled/index.html#type-t">InferIR.Mangled.t</a>;</code></td></tr><tr id="type-param_type.typ" class="anchored"><td class="def field"><a href="#type-param_type.typ" class="anchor"></a><code>typ : <a href="../../../InferIR/InferIR/Typ/index.html#type-t">InferIR.Typ.t</a>;</code></td></tr><tr id="type-param_type.is_pointer_to_const" class="anchored"><td class="def field"><a href="#type-param_type.is_pointer_to_const" class="anchor"></a><code>is_pointer_to_const : bool;</code></td></tr><tr id="type-param_type.annot" class="anchored"><td class="def field"><a href="#type-param_type.annot" class="anchor"></a><code>annot : <a href="../../../InferIR/InferIR/Annot/Item/index.html#type-t">InferIR.Annot.Item.t</a>;</code></td></tr></table><code>}</code></dt><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = </code><code>{</code><table class="record"><tr id="type-t.name" class="anchored"><td class="def field"><a href="#type-t.name" class="anchor"></a><code>name : <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a>;</code></td></tr><tr id="type-t.access" class="anchored"><td class="def field"><a href="#type-t.access" class="anchor"></a><code>access : <a href="../../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-access_specifier">InferGenerated.Clang_ast_t.access_specifier</a>;</code></td></tr><tr id="type-t.class_param" class="anchored"><td class="def field"><a href="#type-t.class_param" class="anchor"></a><code>class_param : <span><a href="index.html#type-param_type">param_type</a> option</span>;</code></td></tr><tr id="type-t.params" class="anchored"><td class="def field"><a href="#type-t.params" class="anchor"></a><code>params : <span><a href="index.html#type-param_type">param_type</a> list</span>;</code></td></tr><tr id="type-t.ret_type" class="anchored"><td class="def field"><a href="#type-t.ret_type" class="anchor"></a><code>ret_type : <a href="../../../InferIR/InferIR/Typ/index.html#type-t">InferIR.Typ.t</a> * <a href="../../../InferIR/InferIR/Annot/Item/index.html#type-t">InferIR.Annot.Item.t</a>;</code></td></tr><tr id="type-t.has_added_return_param" class="anchored"><td class="def field"><a href="#type-t.has_added_return_param" class="anchor"></a><code>has_added_return_param : bool;</code></td></tr><tr id="type-t.attributes" class="anchored"><td class="def field"><a href="#type-t.attributes" class="anchor"></a><code>attributes : <span><a href="../../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-attribute">InferGenerated.Clang_ast_t.attribute</a> list</span>;</code></td></tr><tr id="type-t.loc" class="anchored"><td class="def field"><a href="#type-t.loc" class="anchor"></a><code>loc : <a href="../../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-source_range">InferGenerated.Clang_ast_t.source_r
|