Skip to content

Commit 36f2968

Browse files
committed
combine bugprone-unsafe-functions release notes
1 parent 2513ed9 commit 36f2968

File tree

1 file changed

+3
-29
lines changed

1 file changed

+3
-29
lines changed

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ New check aliases
134134
Changes in existing checks
135135
^^^^^^^^^^^^^^^^^^^^^^^^^^
136136

137-
<<<<<<< HEAD
138-
||||||| parent of c62bbb1d2bf2 (moved release notes for `ctime` and `localtime`)
139137
- Improved :doc:`altera-id-dependent-backward-branch
140138
<clang-tidy/checks/altera/id-dependent-backward-branch>` check by fixing
141139
crashes from invalid code.
@@ -144,33 +142,10 @@ Changes in existing checks
144142
<clang-tidy/checks/bugprone/branch-clone>` check to improve detection of
145143
branch clones by now detecting duplicate inner and outer if statements.
146144

147-
- Improved :doc:`bugprone-casting-through-void
148-
<clang-tidy/checks/bugprone/casting-through-void>` check to suggest replacing
149-
the offending code with ``reinterpret_cast``, to more clearly express intent.
150-
151-
- Improved :doc:`bugprone-dangling-handle
152-
<clang-tidy/checks/bugprone/dangling-handle>` check to treat `std::span` as a
153-
handle class.
154-
155-
- Improved :doc:`bugprone-exception-escape
156-
<clang-tidy/checks/bugprone/exception-escape>` by fixing false positives
157-
when a consteval function with throw statements.
158-
159-
- Improved :doc:`bugprone-forwarding-reference-overload
160-
<clang-tidy/checks/bugprone/forwarding-reference-overload>` check by fixing
161-
a crash when determining if an ``enable_if[_t]`` was found.
162-
163-
=======
164-
- Improved :doc:`altera-id-dependent-backward-branch
165-
<clang-tidy/checks/altera/id-dependent-backward-branch>` check by fixing
166-
crashes from invalid code.
167-
168-
- Improved :doc:`bugprone-branch-clone
169-
<clang-tidy/checks/bugprone/branch-clone>` check to improve detection of
170-
branch clones by now detecting duplicate inner and outer if statements.
145+
- Added `ctime` and `localtime` to clang-tidy.
171146

172-
- New unsafe functions checks :doc:`bugprone-unsafe-functions
173-
<clang-tidy/checks/bugprone/unsafe-functions>` were added to clang-tidy.
147+
- New unsafe functions checks :doc:`bugprone-unsafe-functions-check`
148+
<clang-tidy/bugprone/UnsafeFunctionsCheck.cpp> were added to clang-tidy.
174149

175150
- Improved :doc:`bugprone-unsafe-functions
176151
<clang-tidy/checks/bugprone/unsafe-functions>`, added `ctime` and `localtime`
@@ -192,7 +167,6 @@ Changes in existing checks
192167
<clang-tidy/checks/bugprone/forwarding-reference-overload>` check by fixing
193168
a crash when determining if an ``enable_if[_t]`` was found.
194169

195-
>>>>>>> c62bbb1d2bf2 (moved release notes for `ctime` and `localtime`)
196170
- Improved :doc:`bugprone-optional-value-conversion
197171
<clang-tidy/checks/bugprone/optional-value-conversion>` check to detect
198172
conversion in argument of ``std::make_optional``.

0 commit comments

Comments
 (0)