Skip to content

Commit 60e2a50

Browse files
committed
[clang-tidy][docs][NFC] Fix broken link and ordering in ReleaseNotes.rst
1 parent 88e66fa commit 60e2a50

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,6 @@ Improvements to clang-tidy
8484
New checks
8585
^^^^^^^^^^
8686

87-
- New :doc:`bugprone-implicit-widening-of-multiplication-result
88-
<clang-tidy/checks/bugprone-implicit-widening-of-multiplication-result>` check.
89-
90-
Diagnoses instances of an implicit widening of multiplication result.
91-
92-
- New :doc:`concurrency-thread-canceltype-asynchronous
93-
<clang-tidy/checks/concurrency-thread-canceltype-asynchronous>` check.
94-
95-
Finds ``pthread_setcanceltype`` function calls where a thread's cancellation
96-
type is set to asynchronous.
9787

9888
- New :doc:`altera-id-dependent-backward-branch
9989
<clang-tidy/checks/altera-id-dependent-backward-branch>` check.
@@ -115,19 +105,30 @@ New checks
115105
other directly, making call sites prone to calling the function with
116106
swapped (or badly ordered) arguments.
117107

118-
- New :doc:`cppcoreguidelines-prefer-member-initializer
119-
<clang-tidy/checks/cppcoreguidelines-prefer-member-initializer>` check.
108+
- New :doc:`bugprone-implicit-widening-of-multiplication-result
109+
<clang-tidy/checks/bugprone-implicit-widening-of-multiplication-result>` check.
120110

121-
Finds member initializations in the constructor body which can be placed into
122-
the initialization list instead.
111+
Diagnoses instances of an implicit widening of multiplication result.
123112

124113
- New :doc:`bugprone-unhandled-exception-at-new
125114
<clang-tidy/checks/bugprone-unhandled-exception-at-new>` check.
126115

127116
Finds calls to ``new`` with missing exception handler for ``std::bad_alloc``.
128117

129-
- New `readability-suspicious-call-argument
130-
<clang-tidy/checks/readability-suspicious-call-argument>`_ check
118+
- New :doc:`concurrency-thread-canceltype-asynchronous
119+
<clang-tidy/checks/concurrency-thread-canceltype-asynchronous>` check.
120+
121+
Finds ``pthread_setcanceltype`` function calls where a thread's cancellation
122+
type is set to asynchronous.
123+
124+
- New :doc:`cppcoreguidelines-prefer-member-initializer
125+
<clang-tidy/checks/cppcoreguidelines-prefer-member-initializer>` check.
126+
127+
Finds member initializations in the constructor body which can be placed into
128+
the initialization list instead.
129+
130+
- New :doc:`readability-suspicious-call-argument
131+
<clang-tidy/checks/readability-suspicious-call-argument>` check.
131132

132133
Finds function calls where the arguments passed are provided out of order,
133134
based on the difference between the argument name and the parameter names
@@ -161,7 +162,7 @@ Removed checks
161162
^^^^^^^^^^^^^^
162163

163164
- The readability-deleted-default check has been removed.
164-
165+
165166
The clang warning `Wdefaulted-function-deleted
166167
<https://clang.llvm.org/docs/DiagnosticsReference.html#wdefaulted-function-deleted>`_
167168
will diagnose the same issues and is enabled by default.

0 commit comments

Comments
 (0)