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.2 KiB
2 lines
4.2 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="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__CLocation</span></h1></header><p>Module for function to retrieve the location (file, line, etc) of instructions</p><div class="spec val" id="val-clang_to_sil_location"><a href="#val-clang_to_sil_location" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>clang_to_sil_location : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span class="keyword">‑></span> <a href="../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-source_location">InferGenerated.Clang_ast_t.source_location</a> <span class="keyword">‑></span> <a href="../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a></code></div><div class="doc"></div></div><div class="spec val" id="val-should_translate_lib"><a href="#val-should_translate_lib" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>should_translate_lib : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span class="keyword">‑></span> <a href="../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-source_range">InferGenerated.Clang_ast_t.source_range</a> <span class="keyword">‑></span> <a href="../InferModules/CModule_type/index.html#type-decl_trans_context">InferModules.CModule_type.decl_trans_context</a> <span class="keyword">‑></span> translate_when_used:bool <span class="keyword">‑></span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-should_do_frontend_check"><a href="#val-should_do_frontend_check" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>should_do_frontend_check : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span class="keyword">‑></span> <a href="../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-source_range">InferGenerated.Clang_ast_t.source_range</a> <span class="keyword">‑></span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-is_file_blacklisted"><a href="#val-is_file_blacklisted" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>is_file_blacklisted : string <span class="keyword">‑></span> bool</code></div><div class="doc"></div></div><div class="spec val" id="val-location_of_source_range"><a href="#val-location_of_source_range" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>location_of_source_range : ?⁠pick_location:[ `Start | `End ] <span class="keyword">‑></span> <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span class="keyword">‑></span> <a href="../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-source_range">InferGenerated.Clang_ast_t.source_range</a> <span class="keyword">‑></span> <a href="../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a></code></div><div class="doc"><p>picks the start of the source range by default</p></div></div><div class="spec val" id="val-location_of_stmt_info"><a href="#val-location_of_stmt_info" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>location_of_stmt_info : <a href="../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> <span class="keyword">‑></span> <a href="../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-stmt_info">InferGenerated.Clang_ast_t.stmt_info</a> <span class="keyword">‑></span> <a href="../../InferBase/InferBase/Location/index.html#type-t">InferBase.Location.t</a></code></div><div class="doc"></div></div></body></html> |