This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>CLocation (infer.ClangFrontend.CLocation)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.2"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">ClangFrontend</a>» 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><dtclass="spec value"id="val-should_translate_lib"><ahref="#val-should_translate_lib"class="anchor"></a><code><spanclass="keyword">val</span> should_translate_lib : <ahref="../../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a><span>-></span><ahref="../../ATDGenerated/Clang_ast_t/index.html#type-source_range">ATDGenerated.Clang_ast_t.source_range</a><span>-></span><ahref="../CFrontend_config/index.html#type-decl_trans_context">CFrontend_config.decl_trans_context</a><span>-></span><span>translate_when_used:bool</span><span>-></span> bool</code></dt><dtclass="spec value"id="val-should_do_frontend_check"><ahref="#val-should_do_frontend_check"class="anchor"></a><code><spanclass="keyword">val</span> should_do_frontend_check : <ahref="../../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a><span>-></span><ahref="../../ATDGenerated/Clang_ast_t/index.html#type-source_range">ATDGenerated.Clang_ast_t.source_range</a><span>-></span> bool</code></dt><dtclass="spec value"id="val-is_file_blacklisted"><ahref="#val-is_file_blacklisted"class="anchor"></a><code><spanclass="keyword">val</span> is_file_blacklisted : string <span>-></span> bool</code></dt><dtclass="spec value"id="val-location_of_source_range"><ahref="#val-location_of_source_range"class="anchor"></a><code><spanclass="keyword">val</span> location_of_source_range : <span>?⁠pick_location:<span>[ `Start <span>| `End</span> ]</span></span><span>-></span><ahref="../../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a><span>-></span><ahref="../../ATDGenerated/Clang_ast_t/index.html#type-source_range">ATDGenerated.Clang_ast_t.source_range</a><span>-></span><ahref="../../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><dtclass="spec value"id="val-location_of_stmt_info"><ahref="#val-location_of_stmt_info"class="anchor"></a><code><spanclass="keyword">val</span> location_of_stmt_info : <ahref="../../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a><span>-></span><ahref="../../ATDGenerated/Clang_ast_t/index.html#type-stmt_info">ATDGenerated.Clang_ast_t.stmt_info</a><span>-></span><ahref="../../IBase/Location/index.html#type-t">IBase.Location.t</a></code></dt><dtclass="spec value"id="val-location_of_decl_info"><ahref="#val-location_of_decl_info"class="anchor"></a><code><spanclass="keyword">val</span> location_of_decl_info : <ahref="../../IBase/SourceFile/index.html#type-t">IBase.SourceFile.t</a><span>-></span><ahref="../../ATDGenerated/Clang_ast_t/index.html#type-decl_info">ATDGenerated.Clang_ast_t.decl_info</a><span>-></span><ahref="../../IBase/Location/index.html#type-t">IBase.Location.t</a> * <ahref="../../IBase/Location/index.html#type-t">IBase.Location.t</a></code></dt></dl></div></body></html>