Skip to content

Commit e6ac279

Browse files
committed
combine bugprone-unsafe-functions release notes
1 parent 12ce09d commit e6ac279

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,6 @@ Changes in existing checks
189189
<clang-tidy/checks/bugprone/branch-clone>` check to improve detection of
190190
branch clones by now detecting duplicate inner and outer if statements.
191191

192-
- New unsafe functions checks :doc:`bugprone-unsafe-functions
193-
<clang-tidy/checks/bugprone/unsafe-functions>` were added to clang-tidy.
194-
195-
- Improved :doc:`bugprone-unsafe-functions
196-
<clang-tidy/checks/bugprone/unsafe-functions>`, added `ctime` and `localtime`
197-
to unsafe functions check in clang-tidy.
198-
199192
- Improved :doc:`bugprone-casting-through-void
200193
<clang-tidy/checks/bugprone/casting-through-void>` check to suggest replacing
201194
the offending code with ``reinterpret_cast``, to more clearly express intent.
@@ -242,13 +235,10 @@ Changes in existing checks
242235
`bsl::optional` and `bdlb::NullableValue` from
243236
<https://github.com/bloomberg/bde>_.
244237

245-
- Improved :doc:`bugprone-unsafe-functions
246-
<clang-tidy/checks/bugprone/unsafe-functions>` by adding ``ctime`` and
247-
``localtime`` functions.
248-
249238
- Improved :doc:`bugprone-unsafe-functions
250239
<clang-tidy/checks/bugprone/unsafe-functions>` check to allow specifying
251-
additional functions to match.
240+
additional functions to match. Added `ctime` and `localtime`
241+
to unsafe functions check in clang-tidy.
252242

253243
- Improved :doc:`bugprone-use-after-move
254244
<clang-tidy/checks/bugprone/use-after-move>` to avoid triggering on

0 commit comments

Comments
 (0)