Skip to content

Commit 4ed9f17

Browse files
committed
[analyzer] Add 12.0.0 release notes
Differential Revision: https://reviews.llvm.org/D96163
1 parent 9760b28 commit 4ed9f17

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,38 @@ libclang
377377
Static Analyzer
378378
---------------
379379

380-
- ...
380+
.. 3ff220de9009 [analyzer][StdLibraryFunctionsChecker] Add POSIX networking functions
381+
.. ...And a million other patches.
382+
- Improve the analyzer's understanding of several POSIX functions.
383+
384+
.. https://reviews.llvm.org/D86533#2238207
385+
- Greatly improved the analyzer’s constraint solver by better understanding
386+
when constraints are imposed on multiple symbolic values that are known to be
387+
equal or known to be non-equal. It will now also efficiently reject impossible
388+
if-branches between known comparison expressions. (Incorrectly stated as a
389+
11.0.0 feature in the previous release notes)
390+
391+
.. 820e8d8656ec [Analyzer][WebKit] UncountedLambdaCaptureChecker
392+
- New checker: :ref:`webkit.UncountedLambdaCapturesChecker<webkit-UncountedLambdaCapturesChecker>`
393+
is a WebKit coding convention checker that flags raw pointers to
394+
reference-counted objects captured by lambdas and suggests using intrusive
395+
reference-counting smart pointers instead.
396+
397+
.. 8a64689e264c [Analyzer][WebKit] UncountedLocalVarsChecker
398+
- New checker: :ref:`alpha.webkit.UncountedLocalVarsChecker<alpha-webkit-UncountedLocalVarsChecker>`
399+
is a WebKit coding convention checker that intends to make sure that any
400+
uncounted local variable is backed by a ref-counted object with lifetime that
401+
is strictly larger than the scope of the uncounted local variable.
402+
403+
.. i914f6c4ff8a4 [StaticAnalyzer] Support struct annotations in FuchsiaHandleChecker
404+
- ``fuchia.HandleChecker`` now recognizes handles in structs; All the handles
405+
referenced by the structure (direct value or ptr) would be treated as
406+
containing the release/use/acquire annotations directly.
407+
408+
.. 8deaec122ec6 [analyzer] Update Fuchsia checker to catch releasing unowned handles.
409+
- Fuchsia checkers can detect the release of an unowned handle.
410+
411+
- Numerous fixes and improvements to bug report generation.
381412

382413
.. _release-notes-ubsan:
383414

clang/docs/analyzer/checkers.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2538,6 +2538,8 @@ We also define a set of safe transformations which if passed a safe value as an
25382538
- casts
25392539
- unary operators like ``&`` or ``*``
25402540
2541+
.. _alpha-webkit-UncountedLocalVarsChecker:
2542+
25412543
alpha.webkit.UncountedLocalVarsChecker
25422544
""""""""""""""""""""""""""""""""""""""
25432545
The goal of this rule is to make sure that any uncounted local variable is backed by a ref-counted object with lifetime that is strictly larger than the scope of the uncounted local variable. To be on the safe side we require the scope of an uncounted variable to be embedded in the scope of ref-counted object that backs it.

0 commit comments

Comments
 (0)