Author: Richard Date: 2022-06-24T10:48:47-06:00 New Revision: 5e97788a3eca62aa80cf42bdc697e93838554cda
URL: https://github.com/llvm/llvm-project/commit/5e97788a3eca62aa80cf42bdc697e93838554cda DIFF: https://github.com/llvm/llvm-project/commit/5e97788a3eca62aa80cf42bdc697e93838554cda.diff LOG: [clang-tidy] Update release notes (NFC) - Sort changes to existing checks by check name - Correct check link Added: Modified: clang-tools-extra/docs/ReleaseNotes.rst Removed: ################################################################################ diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst index 0d3f973c3bdeb..f148884e90c5d 100644 --- a/clang-tools-extra/docs/ReleaseNotes.rst +++ b/clang-tools-extra/docs/ReleaseNotes.rst @@ -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``. @@ -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. @@ -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 ^^^^^^^^^^^^^^ _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits