<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I'm all for this idea. There is precedent for this in other tools
(Visual Studio's /analyze). I think it also greatly reduces the
need for build interposition via scan-build.<br>
<br>
I would ask that you think carefully about the output format of the
detailed analysis for -enable-analyze-pass. If people are using
-enable-analyze-pass on most of their builds, then plist and html
reports are likely to go unread for the most part. Consider making
"no detailed analysis" an option for -enable-analyze-pass to help
with these use cases.<br>
<br>
<div class="moz-cite-prefix">On 1/29/2016 9:04 PM, <Alexander G.
Riccio> via cfe-dev wrote:<br>
</div>
<blockquote
cite="mid:CAN3N+zk8a+XU+D+WrJkYoWUKWBs9+nuPOT0PSpbvP6Y_i5Zfjw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>As mentioned by myself, Aaron Ballman, and Philip Reames,
in a reply to "Proposal: Integrate static analysis test
suites", the fact that static analysis generates a totally
different set of warnings than compilation (not a superset),
is surprising to some.</div>
<div><br>
</div>
<div>One possibility, in order to preserve the current behavior
for any tools that rely on this, is to add an option to clang,
something like "-enable-analyze-pass" that the user can
specify to run analysis AND compilation.</div>
<div><br>
</div>
<div>Thoughts?</div>
<br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr"><span style="font-size:12.8px">Sincerely,</span><br
style="font-size:12.8px">
<span style="font-size:12.8px">Alexander Riccio</span><br
style="font-size:12.8px">
<span style="font-size:12.8px">--</span><br
style="font-size:12.8px">
<span style="font-size:12.8px">"Change the world or go
home."</span>
<div style="font-size:12.8px"><a
moz-do-not-send="true"
href="http://about.me/ariccio" target="_blank">about.me/ariccio</a></div>
<div style="font-size:12.8px"><a
moz-do-not-send="true"
href="http://about.me/ariccio" target="_blank"><br>
</a></div>
<div style="font-size:12.8px">If left to my own
devices, I will build more.</div>
<div style="font-size:12.8px">⁂</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
</pre>
</body>
</html>