[clang-tools-extra] 32351b5 - [clang-tidy][doc] fix incorrectly code snippet in release note (#122595)

via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 11 07:26:38 PST 2025


Author: Congcong Cai
Date: 2025-01-11T23:26:34+08:00
New Revision: 32351b5450119799ef33da92e87149467c622224

URL: https://github.com/llvm/llvm-project/commit/32351b5450119799ef33da92e87149467c622224
DIFF: https://github.com/llvm/llvm-project/commit/32351b5450119799ef33da92e87149467c622224.diff

LOG: [clang-tidy][doc] fix incorrectly code snippet in release note (#122595)

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 9818ec9603bbc0..835a0269a2733c 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -195,7 +195,7 @@ Changes in existing checks
   the offending code with ``reinterpret_cast``, to more clearly express intent.
 
 - Improved :doc:`bugprone-dangling-handle
-  <clang-tidy/checks/bugprone/dangling-handle>` check to treat `std::span` as a
+  <clang-tidy/checks/bugprone/dangling-handle>` check to treat ``std::span`` as a
   handle class.
 
 - Improved :doc:`bugprone-exception-escape
@@ -233,7 +233,7 @@ Changes in existing checks
 
 - Improved :doc:`bugprone-unchecked-optional-access
   <clang-tidy/checks/bugprone/unchecked-optional-access>` to support
-  `bsl::optional` and `bdlb::NullableValue` from
+  ``bsl::optional`` and ``bdlb::NullableValue`` from
   <https://github.com/bloomberg/bde>_.
 
 - Improved :doc:`bugprone-unhandled-self-assignment
@@ -370,7 +370,7 @@ Changes in existing checks
 
 - Improved :doc:`readability-redundant-smartptr-get
   <clang-tidy/checks/readability/redundant-smartptr-get>` check to
-  remove `->`, when redundant `get()` is removed.
+  remove ``->``, when redundant ``get()`` is removed.
 
 - Improved :doc:`readability-use-std-min-max
   <clang-tidy/checks/readability/use-std-min-max>` check to use correct template


        


More information about the cfe-commits mailing list