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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>ClangFrontend__CLocation (infer.ClangFrontend__CLocation)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><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; ClangFrontend__CLocation</nav><h1>Module <code>ClangFrontend__CLocation</code></h1></header><aside><p>Module for function to retrieve the location (file, line, etc) of instructions</p></aside><dl><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="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../ATDGenerated/Clang_ast_t/index.html#type-source_range">ATDGenerated.Clang_ast_t.source_range</a> <span>&#45;&gt;</span> <a href="../ClangFrontend/CFrontend_config/index.html#type-decl_trans_context">ClangFrontend.CFrontend_config.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="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../ATDGenerated/Clang_ast_t/index.html#type-source_range">ATDGenerated.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="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../ATDGenerated/Clang_ast_t/index.html#type-source_range">ATDGenerated.Clang_ast_t.source_range</a> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.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="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../ATDGenerated/Clang_ast_t/index.html#type-stmt_info">ATDGenerated.Clang_ast_t.stmt_info</a> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.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="../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a> <span>&#45;&gt;</span> <a href="../ATDGenerated/Clang_ast_t/index.html#type-decl_info">ATDGenerated.Clang_ast_t.decl_info</a> <span>&#45;&gt;</span> <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a> * <a href="../IBase/Location/index.html#type-t">IBase.Location.t</a></code></dt></dl></div></body></html>