Skip to content

Commit

Permalink
[clang-tidy] Update release notes (NFC)
Browse files Browse the repository at this point in the history
- Sort changes to existing checks by check name
- Correct check link
  • Loading branch information
LegalizeAdulthood committed Jun 24, 2022
1 parent 6879391 commit 5e97788
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions clang-tools-extra/docs/ReleaseNotes.rst
Expand Up @@ -165,6 +165,15 @@ Changes in existing checks
<clang-tidy/checks/bugprone/sizeof-expression>` when `sizeof(...)` is
compared against a `__int128_t`.

- Fixed bugs in :doc:`bugprone-use-after-move
<clang-tidy/checks/bugprone/use-after-move>`:

- Treat a move in a lambda capture as happening in the function that defines
the lambda, not within the body of the lambda (as we were previously doing
erroneously).

- Don't emit an erroneous warning on self-moves.

- Made :doc:`cert-oop57-cpp <clang-tidy/checks/cert/oop57-cpp>` more sensitive
by checking for an arbitrary expression in the second argument of ``memset``.

Expand Down Expand Up @@ -210,6 +219,10 @@ Changes in existing checks
<clang-tidy/checks/performance/inefficient-vector-operation>` to work when
the vector is a member of a structure.

- Fixed a crash in :doc:`performance-unnecessary-value-param
<clang-tidy/checks/performance/unnecessary-value-param>` when the specialization
template has an unnecessary value parameter. Removed the fix for a template.

- Fixed a crash in :doc:`readability-const-return-type
<clang-tidy/checks/readability/const-return-type>` when a pure virtual function
overrided has a const return type. Removed the fix for a virtual function.
Expand All @@ -225,19 +238,6 @@ Changes in existing checks
<clang-tidy/checks/readability/simplify-boolean-expr>` to simplify expressions
using DeMorgan's Theorem.

- Fixed a crash in :doc:`performance-unnecessary-value-param
<clang-tidy/checks/readability/suspicious-call-argument>` when the specialization
template has an unnecessary value parameter. Removed the fix for a template.

- Fixed bugs in :doc:`bugprone-use-after-move
<clang-tidy/checks/bugprone/use-after-move>`:

- Treat a move in a lambda capture as happening in the function that defines
the lambda, not within the body of the lambda (as we were previously doing
erroneously).

- Don't emit an erroneous warning on self-moves.

Removed checks
^^^^^^^^^^^^^^

Expand Down

0 comments on commit 5e97788

Please sign in to comment.