Skip to content

Commit

Permalink
[clang-tidy][doc] fix incorrectly code snippet in release note (llvm#…
Browse files Browse the repository at this point in the history
  • Loading branch information
HerrCai0907 authored and BaiXilin committed Jan 12, 2025
1 parent eb65c36 commit 6b6f370
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clang-tools-extra/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6b6f370

Please sign in to comment.