File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,12 @@ Changes in existing checks
107107New 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+
110116New check aliases
111117^^^^^^^^^^^^^^^^^
112118
Original file line number Diff line number Diff 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 >`,
You can’t perform that action at this time.
0 commit comments