@@ -84,16 +84,6 @@ Improvements to clang-tidy
84
84
New checks
85
85
^^^^^^^^^^
86
86
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.
97
87
98
88
- New :doc: `altera-id-dependent-backward-branch
99
89
<clang-tidy/checks/altera-id-dependent-backward-branch>` check.
@@ -115,19 +105,30 @@ New checks
115
105
other directly, making call sites prone to calling the function with
116
106
swapped (or badly ordered) arguments.
117
107
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.
120
110
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.
123
112
124
113
- New :doc: `bugprone-unhandled-exception-at-new
125
114
<clang-tidy/checks/bugprone-unhandled-exception-at-new>` check.
126
115
127
116
Finds calls to ``new `` with missing exception handler for ``std::bad_alloc ``.
128
117
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.
131
132
132
133
Finds function calls where the arguments passed are provided out of order,
133
134
based on the difference between the argument name and the parameter names
@@ -161,7 +162,7 @@ Removed checks
161
162
^^^^^^^^^^^^^^
162
163
163
164
- The readability-deleted-default check has been removed.
164
-
165
+
165
166
The clang warning `Wdefaulted-function-deleted
166
167
<https://clang.llvm.org/docs/DiagnosticsReference.html#wdefaulted-function-deleted> `_
167
168
will diagnose the same issues and is enabled by default.
0 commit comments