[clang-tools-extra][Docs][NFC] Add back lost release notes (#150409)
When release notes were cleared on ``main``, clang-tools-extra project
already cleared release notes and commit
3d8db8ef50b7e59d5a1943ddc14597327eff88fd flushed them. This patch
restores lost release notes.
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index 727c762..0c4c281 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -85,6 +85,11 @@
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 +102,22 @@
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
^^^^^^^^^^^^^^