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.
3 lines
9.3 KiB
3 lines
9.3 KiB
5 years ago
|
<!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="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> — <span class="package">package <a href="../../index.html">infer</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferModules.CMethodSignature</span></h1></header><p>Define the signature of a method consisting of its name, its arguments, return type, location
|
||
|
and whether its an instance method.</p><div class="spec type" id="type-param_type"><a href="#type-param_type" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>param_type</code><code></code><code><span class="keyword"> = </span></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.is_value" class="anchored"><td class="def field"><a href="#type-param_type.is_value" class="anchor"></a><code>is_value : 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><code></code></div><div class="doc"></div></div><div class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>t</code><code></code><code><span class="keyword"> = </span></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 : <a href="index.html#type-param_type">param_type</a> option;</code></td></tr><tr id="type-t.params" class="anchored"><td class="def field"><a href="#type-t.params" class="anchor"></a><code>params : <a href="index.html#type-param_type">param_type</a> list;</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><span class="keyword"> * </span><a href="../../../InferIR/InferIR/Annot/Item/index.html#type-t">InferIR.Annot.Item.t</a>;</code></td></tr><tr id="type-t.attributes" class="anchored"><td class="def field"><a href="#type-t.attributes" class="anchor"></a><code>attributes : <a href="../../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-attribute">InferGenerated.Clang_ast_t.attribute</a> list;</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_range</a>;</code></td></tr><tr id="type-t.method_kind" class="anchored"><td class="def field"><a href="#type-t.method_kind" class="anchor"></a><code>method_kind : <a href="../../../InferIR/InferIR/ProcAttributes/index.html#type-clang_method_kind">InferIR.ProcAttributes.clang_method_kind</a>;</code></td></tr><tr id="type-t.is_cpp_virtual" class="anchored"><td class="def field"><a href="#type-t.is_cpp_virtual" class="anchor"></a><code>is_cpp_virtual : bool;</code></td></tr><tr id="type-t.is_cpp_nothrow" class="anchored"><td class="def field"><a href="#type-t.is_cpp_nothrow" class="anchor"></a><code>is_cpp_nothrow : bool;</code></td></tr><tr id="ty
|