[clang-tools-extra] [clang-tools-extra][Docs][NFC] Add back lost release notes (PR #150409)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 24 04:58:06 PDT 2025
https://github.com/vbvictor updated https://github.com/llvm/llvm-project/pull/150409
>From 79a34ab58726b563f1dfc4c9850bd317f93065fd Mon Sep 17 00:00:00 2001
From: Victor Baranov <bar.victor.2002 at gmail.com>
Date: Thu, 24 Jul 2025 14:54:49 +0300
Subject: [PATCH 1/3] [clang-tools-extra][Docs] Add back lost release notes
---
clang-tools-extra/docs/ReleaseNotes.rst | 30 +++++++++++++++++++++++++
1 file changed, 30 insertions(+)
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
-------------------------------
+
>From 66e0832501585906bac2d7c0bfaedeaff3672a5a Mon Sep 17 00:00:00 2001
From: Victor Baranov <bar.victor.2002 at gmail.com>
Date: Thu, 24 Jul 2025 14:57:14 +0300
Subject: [PATCH 2/3] delete release notes of reverted clangd code actions
---
clang-tools-extra/docs/ReleaseNotes.rst | 8 --------
1 file changed, 8 deletions(-)
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index c75d9ca71cad7..eafbdecd406b2 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -67,14 +67,6 @@ 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
^^^^^^^^^^^^^^
>From 4ee9d298c5114d282ec31b5e610e3046c520f681 Mon Sep 17 00:00:00 2001
From: Victor Baranov <bar.victor.2002 at gmail.com>
Date: Thu, 24 Jul 2025 14:57:53 +0300
Subject: [PATCH 3/3] delete empty line
---
clang-tools-extra/docs/ReleaseNotes.rst | 1 -
1 file changed, 1 deletion(-)
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index eafbdecd406b2..0c4c28164a388 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -144,4 +144,3 @@ Improvements to pp-trace
Clang-tidy Visual Studio plugin
-------------------------------
-
More information about the cfe-commits
mailing list