Skip to content

Commit 83ffdd8

Browse files
committed
cleanup a dupe and restore release notes
1 parent 52d9353 commit 83ffdd8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ Changes in existing checks
107107
New checks
108108
^^^^^^^^^^
109109

110+
- New :doc:`bugprone-move-shared-pointer-contents
111+
<clang-tidy/checks/bugprone/move-shared-pointer-contents>` check.
112+
113+
Detects calls to move the contents out of a ``std::shared_ptr`` rather than
114+
moving the pointer itself.
115+
110116
New check aliases
111117
^^^^^^^^^^^^^^^^^
112118

clang-tools-extra/docs/clang-tidy/checks/list.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ Clang-Tidy Checks
123123
:doc:`bugprone-reserved-identifier <bugprone/reserved-identifier>`, "Yes"
124124
:doc:`bugprone-return-const-ref-from-parameter <bugprone/return-const-ref-from-parameter>`,
125125
:doc:`bugprone-shared-ptr-array-mismatch <bugprone/shared-ptr-array-mismatch>`, "Yes"
126-
:doc:`bugprone-shared-pointer-contents-move <bugprone/move-shared-pointer-contents.rst>`,
127126
:doc:`bugprone-signal-handler <bugprone/signal-handler>`,
128127
:doc:`bugprone-signed-char-misuse <bugprone/signed-char-misuse>`,
129128
:doc:`bugprone-sizeof-container <bugprone/sizeof-container>`,

0 commit comments

Comments
 (0)