<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">
<div><div><div class="im"><blockquote type="cite"><div><div> In particular, it doesn't add: --analyze.  Do I need to both add that to my compilation options and also call scan-build?</div></div></blockquote><br></div>
<div>You can look at the Analyze() routine in ccc-analyzer. It does not call "clang --analyze" directly, but calls a lower level "clang -cc1 -analyze <span style="font-family:Monaco;font-size:11px">-analyzer-checker=.."</span><span style="font-size:13px"> the command built by scan-build. Unless you specify extra options to scan-build they will be equivalent (scan-build calls clang --analyzer -### to get the equivalent cc1 command).</span></div>
</div></div></div></blockquote><div><br></div><div>Thanks, the issue was that %LangMap was missing C (capital C), which is the suffix used by most C++ code in our product, and then skipped my source file silently.  I've added:<br>
<br><div>  'C'   => 'c++',</div></div><div><br>to my version of this script.</div><div><br></div><div>Peeter</div></div>
</div>