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.4 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferModules__CLocation (infer.InferModules__CLocation)</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; InferModules__CLocation</nav><h1>Module <code>InferModules__CLocation</code></h1><p>Module for function to retrieve the location (file, line, etc) of instructions</p></header><dl><dt class="spec value" id="val-clang_to_sil_location"><a href="#val-clang_to_sil_location" class="anchor"></a><code><span class="keyword">val</span> clang_to_sil_location : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-source_location">InferGenerated.Clang_ast_t.source_location</a> <span>&#45;&gt;</span> <a href="../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a></code></dt><dt class="spec value" id="val-should_translate_lib"><a href="#val-should_translate_lib" class="anchor"></a><code><span class="keyword">val</span> should_translate_lib : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-source_range">InferGenerated.Clang_ast_t.source_range</a> <span>&#45;&gt;</span> <a href="../InferModules/CModule_type/index.html#type-decl_trans_context">InferModules.CModule_type.decl_trans_context</a> <span>&#45;&gt;</span> <span>translate_when_used:bool</span> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-should_do_frontend_check"><a href="#val-should_do_frontend_check" class="anchor"></a><code><span class="keyword">val</span> should_do_frontend_check : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-source_range">InferGenerated.Clang_ast_t.source_range</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-is_file_blacklisted"><a href="#val-is_file_blacklisted" class="anchor"></a><code><span class="keyword">val</span> is_file_blacklisted : string <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-location_of_source_range"><a href="#val-location_of_source_range" class="anchor"></a><code><span class="keyword">val</span> location_of_source_range : <span>?&#8288;pick_location:<span>[ `Start <span>| `End</span> ]</span></span> <span>&#45;&gt;</span> <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-source_range">InferGenerated.Clang_ast_t.source_range</a> <span>&#45;&gt;</span> <a href="../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a></code></dt><dd><p>picks the start of the source range by default</p></dd></dl><dl><dt class="spec value" id="val-location_of_stmt_info"><a href="#val-location_of_stmt_info" class="anchor"></a><code><span class="keyword">val</span> location_of_stmt_info : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-stmt_info">InferGenerated.Clang_ast_t.stmt_info</a> <span>&#45;&gt;</span> <a href="../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a></code></dt><dt class="spec value" id="val-location_of_decl_info"><a href="#val-location_of_decl_info" class="anchor"></a><code><span class="keyword">val</span> location_of_decl_info : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">Inf