Skip to content

Commit

Permalink
[analyzer] Add 9.0.0. release notes.
Browse files Browse the repository at this point in the history
By Kristóf Umann!

Differential revision: https://reviews.llvm.org/D66765

llvm-svn: 370166
  • Loading branch information
zmodem committed Aug 28, 2019
1 parent 8fee65e commit caa3819
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
2 changes: 2 additions & 0 deletions clang/docs/ClangStaticAnalyzer.rst
Expand Up @@ -2,6 +2,8 @@
Clang Static Analyzer
=====================

.. _clang-static-analyzer-docs:

The Clang Static Analyzer is a source code analysis tool that finds bugs in C, C++, and Objective-C programs.
It implements *path-sensitive*, *inter-procedural analysis* based on *symbolic execution* technique.

Expand Down
49 changes: 48 additions & 1 deletion clang/docs/ReleaseNotes.rst
Expand Up @@ -325,10 +325,57 @@ libclang
Static Analyzer
---------------

- Fixed a bug where an incorrect checker name would be displayed for a bug
report.`

- New checker: 'security.insecureAPI.DeprecatedOrUnsafeBufferHandling' to detect
uses of unsafe/deprecated buffer handling functions for C code using the C11
standard or newer.

- New checker: 'osx.MIGChecker' to find violations of the Mach Interface
Generator calling convention

- New checker: 'optin.osx.OSObjectCStyleCast' to find C-style casts of of XNU
libkern OSObjects

- New package: 'apiModeling.llvm' contains modeling checkers to improve the
accuracy of reports on LLVM's own codebase.

- The Static Analyzer received a
:ref:`developer documentation <clang-static-analyzer-docs>`.

- The UninitializedObject checker is now considered as stable.
(moved from the 'alpha.cplusplus' to the 'optin.cplusplus' package)

...
- New frontend flags: The list of available checkers are now split into 3
different frontend flags:

- ``-analyzer-checker-help``: The list of user-facing, stable checkers.

- ``-analyzer-checker-help-alpha``: The list of in-development
checkers not yet advised to be turned on.

- ``-analyzer-checker-help-developer``: Checkers never meant to be
enabled/disabled by hand + development checkers.

- New frontend flags: While they have always been around, for the first time,
checker and package options are listable:

- ``-analyzer-checker-option-help``: The list of user-facing, stable checker
and package options.

- ``-analyzer-checker-option-help-alpha``: The list of in-development checker
options not yet advised to be used.

- ``-analyzer-checker-option-help-developer``: Options never meant to be
enabled/disabled by hand + development options.

- New frontend flag: ``-analyzer-werror`` to turn analyzer warnings into errors.

- Numerous fixes to increase the stability of the experimental cross translation
unit analysis (CTU).

- CTU now handles virtual functions as well.

.. _release-notes-ubsan:

Expand Down

0 comments on commit caa3819

Please sign in to comment.