https://github.com/vbvictor created 
https://github.com/llvm/llvm-project/pull/174686

Instead of long text, use bullet points for readability.

>From 1ab3ff234717ab2704d63aee63fba8d54be0448e Mon Sep 17 00:00:00 2001
From: Victor Baranov <[email protected]>
Date: Mon, 5 Jan 2026 04:33:03 +0300
Subject: [PATCH] [clang-tidy][NFC] Improve readabilty of Release Notes

---
 clang-tools-extra/docs/ReleaseNotes.rst | 129 +++++++++++++++---------
 1 file changed, 81 insertions(+), 48 deletions(-)

diff --git a/clang-tools-extra/docs/ReleaseNotes.rst 
b/clang-tools-extra/docs/ReleaseNotes.rst
index a154b4e08fae8..4a3c1bb40cc2e 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -387,13 +387,17 @@ Changes in existing checks
   ``NamePrefixSuffixSilenceDissimilarityTreshold``.
 
 - Improved :doc:`bugprone-exception-escape
-  <clang-tidy/checks/bugprone/exception-escape>` check's handling of lambdas:
-  exceptions from captures are now diagnosed, exceptions in the bodies of
-  lambdas that aren't actually invoked are not. Additionally, fixed an issue
-  where the check wouldn't diagnose throws in arguments to functions or
-  constructors. Added fine-grained configuration via options
-  `CheckDestructors`, `CheckMoveMemberFunctions`, `CheckMain`,
-  `CheckedSwapFunctions`, and `CheckNothrowFunctions`.
+  <clang-tidy/checks/bugprone/exception-escape>` check:
+    
+  - Exceptions from lambda captures are now diagnosed, exceptions in the
+    bodies of lambdas that aren't actually invoked are not. 
+    
+  - Fixed an issue where the check wouldn't diagnose throws in arguments to
+    functions or constructors.
+  
+  - Added fine-grained configuration via options `CheckDestructors`,
+    `CheckMoveMemberFunctions`, `CheckMain`, `CheckedSwapFunctions`, and
+    `CheckNothrowFunctions`.
 
 - Improved :doc:`bugprone-infinite-loop
   <clang-tidy/checks/bugprone/infinite-loop>` check by adding detection for
@@ -435,20 +439,30 @@ Changes in existing checks
   tagged union respectively.
 
 - Improved :doc:`bugprone-throw-keyword-missing
-  <clang-tidy/checks/bugprone/throw-keyword-missing>` check by only considering
-  the canonical types of base classes as written and adding a note on the base
-  class that triggered the warning. Also, fixed an issue where the check
-  wouldn't fire in constructors or (in certain contexts) lambdas.
+  <clang-tidy/checks/bugprone/throw-keyword-missing>` check:
+    
+  - Now it only considers the canonical types of base classes as written.
+  
+  - Added a note on the base class that triggered the warning.
+  
+  - Fixed an issue where the check wouldn't fire in constructors or
+    (in certain contexts) lambdas.
 
 - Improved :doc:`bugprone-unchecked-optional-access
-  <clang-tidy/checks/bugprone/unchecked-optional-access>` check by supporting
-  ``NullableValue::makeValue`` and ``NullableValue::makeValueInplace`` to
-  prevent false-positives for ``BloombergLP::bdlb::NullableValue``. Fixed
-  false-positives for ``bsl::optional`` containing allocator-aware type.
-  Added the `IgnoreValueCalls` option to suppress diagnostics for
-  ``optional::value()`` and the `IgnoreSmartPointerDereference` option to
-  ignore optionals reached via smart-pointer-like dereference, while still
-  diagnosing UB-prone dereferences via ``operator*`` and ``operator->``.
+  <clang-tidy/checks/bugprone/unchecked-optional-access>` check:
+  
+  - Added support for ``NullableValue::makeValue`` and 
+    ``NullableValue::makeValueInplace`` to prevent false-positives for
+    ``BloombergLP::bdlb::NullableValue``.
+  
+  - Fixed false-positives for ``bsl::optional`` containing allocator-aware 
type.
+
+  - Added the `IgnoreValueCalls` option to suppress diagnostics for
+    ``optional::value()``. 
+    
+  - Added the `IgnoreSmartPointerDereference` option to ignore optionals
+    reached via smart-pointer-like dereference, while still diagnosing UB-prone
+    dereferences via ``operator*`` and ``operator->``.
 
 - Improved :doc:`bugprone-unhandled-self-assignment
   <clang-tidy/checks/bugprone/unhandled-self-assignment>` check by adding
@@ -457,14 +471,16 @@ Changes in existing checks
 
 - Improved :doc:`bugprone-unsafe-functions
   <clang-tidy/checks/bugprone/unsafe-functions>` check by hiding the default
-  suffix when the reason starts with the character `>` in the `CustomFunctions`
+  suffix when the reason starts with the character ``>`` in the 
`CustomFunctions`
   option.
 
 - Improved :doc:`bugprone-use-after-move
-  <clang-tidy/checks/bugprone/use-after-move>` check by adding
-  `InvalidationFunctions` option to support custom invalidation functions
-  and `ReinitializationFunctions` option to support custom reinitialization
-  functions.
+  <clang-tidy/checks/bugprone/use-after-move>` check:
+  
+  - Added `InvalidationFunctions` option to support custom invalidation 
functions.
+
+  - Added `ReinitializationFunctions` option to support custom reinitialization
+    functions.
 
 - Improved :doc:`cppcoreguidelines-avoid-non-const-global-variables
   <clang-tidy/checks/cppcoreguidelines/avoid-non-const-global-variables>` check
@@ -487,8 +503,8 @@ Changes in existing checks
 
 - Improved :doc:`cppcoreguidelines-pro-bounds-pointer-arithmetic
   <clang-tidy/checks/cppcoreguidelines/pro-bounds-pointer-arithmetic>` check
-  adding an option to allow pointer arithmetic via prefix/postfix increment or
-  decrement operators.
+  adding `AllowIncrementDecrementOperators` option to allow pointer arithmetic
+  via prefix/postfix increment or decrement operators.
 
 - Improved :doc:`cppcoreguidelines-pro-type-member-init
   <clang-tidy/checks/cppcoreguidelines/pro-type-member-init>` check to
@@ -520,12 +536,15 @@ Changes in existing checks
   - ``for`` loops are supported.
 
 - Improved :doc:`misc-const-correctness
-  <clang-tidy/checks/misc/const-correctness>` check to avoid false
-  positives when pointers is transferred to non-const references
-  and avoid false positives of function pointer and fix false
-  positives on return of non-const pointer and fix false positives on
-  pointer-to-member operator and avoid false positives when the address
-  of a variable is taken to be passed to a function.
+  <clang-tidy/checks/misc/const-correctness>` check:
+  
+  - Fixed false positives when pointers is transferred to non-const references.
+
+  - Fixed false positives of function pointer, on return of non-const pointer, 
+    on pointer-to-member operator.
+  
+  - Fixed false positives when the address of a variable is taken to be passed
+    to a function.
 
 - Improved :doc:`misc-coroutine-hostile-raii
   <clang-tidy/checks/misc/coroutine-hostile-raii>` check by adding the option
@@ -536,11 +555,16 @@ Changes in existing checks
   <clang-tidy/checks/misc/header-include-cycle>` check performance.
 
 - Improved :doc:`misc-use-internal-linkage
-  <clang-tidy/checks/misc/use-internal-linkage>` to suggest giving
-  user-defined types (structs, classes, unions, and enums) internal
-  linkage. Added fine-grained options to control whether the check
-  should diagnose functions, variables, and/or user-defined types.
-  Enabled the check for C.
+  <clang-tidy/checks/misc/use-internal-linkage>` check:
+  
+  - Added suggestion of internal linkage for user-defined types (structs,
+  classes, unions, and enums).
+  
+  - Added fine-grained options `AnalyzeFunctions`, `AnalyzeVariables`, 
+    `AnalyzeTypes` to control whether the check should diagnose functions,
+    variables, and/or user-defined types.
+  
+  - Enabled the check for C.
 
 - Improved :doc:`modernize-avoid-c-arrays
   <clang-tidy/checks/modernize/avoid-c-arrays>` to not diagnose array types
@@ -633,19 +657,28 @@ Changes in existing checks
   filenames) to allow intentional duplicates.
 
 - Improved :doc:`readability-identifier-naming
-  <clang-tidy/checks/readability/identifier-naming>` check by ignoring
-  declarations and macros in system headers. The documentation is also improved
-  to differentiate the general options from the specific ones. Options for
-  fine-grained control over ``constexpr`` variables were added. Added default
-  options which simplify configs by removing the need to specify each
-  identifier kind separately.
+  <clang-tidy/checks/readability/identifier-naming>` check:
+  
+  - Now ignores declarations and macros in system headers.
+  
+  - The documentation is improved to differentiate the general options from the
+  specific ones.
+  
+  - Options for fine-grained control over ``constexpr`` variables were added.
+  
+  - Added default options which simplify configs by removing the need to 
specify
+    each identifier kind separately.
 
 - Improved :doc:`readability-implicit-bool-conversion
-  <clang-tidy/checks/readability/implicit-bool-conversion>` check by correctly
-  adding parentheses when inner expressions are implicitly converted multiple
-  times, enabling the check for C99 and later standards, and allowing implicit
-  conversions from ``bool`` to integer when used as operands of logical
-  operators (``&&``, ``||``) in C.
+  <clang-tidy/checks/readability/implicit-bool-conversion>` check:
+  
+  - Now correctly adds parentheses when inner expressions are implicitly
+  converted multiple times.
+  
+  - Enabled the check for C99 and later standards. 
+  
+  - Now allows implicit conversions from ``bool`` to integer when used as
+    operands of logical operators (``&&``, ``||``) in C.
 
 - Improved :doc:`readability-inconsistent-declaration-parameter-name
   <clang-tidy/checks/readability/inconsistent-declaration-parameter-name>` 
check

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to