Skip to content

Commit ad8d479

Browse files
committed
Add some release note text for the Clang Static Analyzer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_32@170251 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent f69442c commit ad8d479

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

docs/ReleaseNotes.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,46 @@ <h3>
247247

248248
</div>
249249

250+
<!--=========================================================================-->
251+
<h3>
252+
<a name="StaticAnalyzer">Clang Static Analyzer</a>
253+
</h3>
254+
255+
<div>
256+
257+
<p>The <a href="http://clang-analyzer.llvm.org/">Clang Static Analyzer</a>
258+
is an advanced source code analysis tool integrated into Clang that performs
259+
a deep analysis of code to find potential bugs.</p>
260+
261+
<p>In the LLVM 3.2 release, the static analyzer has made significant improvements
262+
in many areas, with notable highlights such as:</p>
263+
264+
<ul>
265+
<li>Improved interprocedural analysis within a translation unit (see details below), which greatly amplified the analyzer's ability to find bugs.</li>
266+
<li>New infrastructure to model &quot;well-known&quot; APIs, allowing the analyzer to do a much better job when modeling calls to such functions.</li>
267+
<li>Significant improvements to the APIs to write static analyzer checkers, with a more unified way of representing function/method calls in the checker API. Details can be found in the <a href="http://llvm.org/devmtg/2012-11#talk13">Building a Checker in 24 hours</a> talk.
268+
</ul>
269+
270+
<p>The release specifically includes notable improvements for Objective-C analysis, including:</p>
271+
272+
<ul>
273+
<li>Interprocedural analysis for Objective-C methods.</li>
274+
<li>Interprocedural analysis of calls to &quot;blocks&quot;.</li>
275+
<li>Precise modeling of GCD APIs such as <tt>dispatch_once</tt> and friends.</li>
276+
<li>Improved support for recently added Objective-C constructs such as array and dictionary literals.</li>
277+
</ul>
278+
279+
<p>The release specifically includes notable improvements for C++ analysis, including:</p>
280+
281+
<ul>
282+
<li>Interprocedural analysis for C++ methods (within a translation unit).</li>
283+
<li>More precise modeling of C++ initializers and destructors.</li>
284+
</ul>
285+
286+
<p>Finally, this release includes many small improvements to <tt>scan-build</tt>, which can be used to drive the analyzer from the command line or a continuous integration system. This includes a directory-traversal issue, which could cause potential security problems in some cases. We would like to acknowledge Tim Brown of Portcullis Computer Security Ltd for reporting this issue.</p>
287+
288+
</div>
289+
250290
</div>
251291

252292
<!-- *********************************************************************** -->

0 commit comments

Comments
 (0)