llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-tools-extra Author: Baranov Victor (vbvictor) <details> <summary>Changes</summary> When release notes were cleared on ``main``, clang-tools-extra project already cleared release notes and commit 3d8db8ef50b7e59d5a1943ddc14597327eff88fd flushed them. This patch restores those release notes. --- Full diff: https://github.com/llvm/llvm-project/pull/150409.diff 1 Files Affected: - (modified) clang-tools-extra/docs/ReleaseNotes.rst (+30) ``````````diff diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst index 727c7622426c8..c75d9ca71cad7 100644 --- a/clang-tools-extra/docs/ReleaseNotes.rst +++ b/clang-tools-extra/docs/ReleaseNotes.rst @@ -67,6 +67,14 @@ Code completion Code actions ^^^^^^^^^^^^ +- New ``Override pure virtual methods`` code action. When invoked on a class + definition, this action automatically generates C++ ``override`` declarations + for all pure virtual methods inherited from its base classes that have not yet + been implemented. The generated method stubs prompts the user for the actual + implementation. The overrides are intelligently grouped under their original + access specifiers (e.g., ``public``, ``protected``), creating new access + specifier blocks if necessary. + Signature help ^^^^^^^^^^^^^^ @@ -85,6 +93,11 @@ Improvements to clang-doc Improvements to clang-query --------------------------- +- Matcher queries interpreted by clang-query are now support trailing comma (,) + in matcher arguments. Note that C++ still doesn't allow this in function + arguments. So when porting a query to C++, remove all instances of trailing + comma (otherwise C++ compiler will just complain about "expected expression"). + Improvements to clang-tidy -------------------------- @@ -97,6 +110,22 @@ New check aliases Changes in existing checks ^^^^^^^^^^^^^^^^^^^^^^^^^^ +- Improved :doc:`bugprone-infinite-loop + <clang-tidy/checks/bugprone/infinite-loop>` check by adding detection for + variables introduced by structured bindings. + +- Improved :doc:`bugprone-unhandled-self-assignment + <clang-tidy/checks/bugprone/unhandled-self-assignment>` check by adding + an additional matcher that generalizes the copy-and-swap idiom pattern + detection. + +- Improved :doc:`misc-header-include-cycle + <clang-tidy/checks/misc/header-include-cycle>` check performance. + +- Improved :doc:`portability-template-virtual-member-function + <clang-tidy/checks/portability/template-virtual-member-function>` check to + avoid false positives on pure virtual member functions. + Removed checks ^^^^^^^^^^^^^^ @@ -123,3 +152,4 @@ Improvements to pp-trace Clang-tidy Visual Studio plugin ------------------------------- + `````````` </details> https://github.com/llvm/llvm-project/pull/150409 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits