<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>ClangWrapper (infer.ClangFrontend.ClangWrapper)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><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>» ClangWrapper</nav><h1>Module <code>ClangFrontend.ClangWrapper</code></h1></header><dl><dtclass="spec value"id="val-exe"><ahref="#val-exe"class="anchor"></a><code><spanclass="keyword">val</span> exe : <span>prog:string</span><span>-></span><span>args:<span>string list</span></span><span>-></span> unit</code></dt><dd><p>Given a clang command, normalize it via <code>clang -###</code> if needed to get a clear view of what work is being done and which source files are being compiled, if any. Pass the resulting files to compile to <ahref="../Capture/index.html"><code>Capture</code></a> to be captured, i.e., parsed and translated into Infer's IR <ahref="../../IR/Sil/index.html"><code>Sil</code></a>.</p></dd></dl></div></body></html>