@@ -224,18 +224,18 @@ New checks
224
224
Recommends the smallest possible underlying type for an ``enum `` or ``enum ``
225
225
class based on the range of its enumerators.
226
226
227
- - New :doc: `readability-reference-to-constructed-temporary
228
- <clang-tidy/checks/readability/reference-to-constructed-temporary>` check.
229
-
230
- Detects C++ code where a reference variable is used to extend the lifetime
231
- of a temporary object that has just been constructed.
232
-
233
227
- New :doc: `readability-avoid-return-with-void-value
234
228
<clang-tidy/checks/readability/avoid-return-with-void-value>` check.
235
229
236
230
Finds return statements with ``void `` values used within functions with
237
231
``void `` result types.
238
232
233
+ - New :doc: `readability-reference-to-constructed-temporary
234
+ <clang-tidy/checks/readability/reference-to-constructed-temporary>` check.
235
+
236
+ Detects C++ code where a reference variable is used to extend the lifetime
237
+ of a temporary object that has just been constructed.
238
+
239
239
New check aliases
240
240
^^^^^^^^^^^^^^^^^
241
241
@@ -395,7 +395,7 @@ Changes in existing checks
395
395
396
396
- Improved :doc: `misc-unused-using-decls
397
397
<clang-tidy/checks/misc/unused-using-decls>` check to avoid false positive when
398
- using in elaborated type and only check cpp files.
398
+ using in elaborated type and only check C++ files.
399
399
400
400
- Improved :doc: `modernize-avoid-bind
401
401
<clang-tidy/checks/modernize/avoid-bind>` check to
@@ -435,34 +435,34 @@ Changes in existing checks
435
435
436
436
- Improved :doc: `modernize-use-using
437
437
<clang-tidy/checks/modernize/use-using>` check to fix function pointer and
438
- forward declared ``typedef `` correctly. Added option `IgnoreExternC ` to ignore `` typedef ``
439
- declaration in ``extern "C" `` scope.
438
+ forward declared ``typedef `` correctly. Added option `IgnoreExternC ` to ignore
439
+ `` typedef `` declaration in ``extern "C" `` scope.
440
440
441
441
- Improved :doc: `performance-faster-string-find
442
442
<clang-tidy/checks/performance/faster-string-find>` check to properly escape
443
443
single quotes.
444
444
445
445
- Improved :doc: `performance-noexcept-move-constructor
446
446
<clang-tidy/checks/performance/noexcept-move-constructor>` to better handle
447
- conditional noexcept expressions, eliminating false-positives.
447
+ conditional `` noexcept `` expressions, eliminating false-positives.
448
448
449
449
- Improved :doc: `performance-noexcept-swap
450
450
<clang-tidy/checks/performance/noexcept-swap>` check to enforce a stricter
451
451
match with the swap function signature and better handling of condition
452
- noexcept expressions, eliminating false-positives. ``iter_swap `` function name
453
- is checked by default.
452
+ `` noexcept `` expressions, eliminating false-positives. ``iter_swap `` function
453
+ name is checked by default.
454
454
455
455
- Improved :doc: `readability-braces-around-statements
456
456
<clang-tidy/checks/readability/braces-around-statements>` check to
457
457
ignore false-positive for ``if constexpr `` in lambda expression.
458
458
459
459
- Improved :doc: `readability-avoid-const-params-in-decls
460
- <clang-tidy/checks/readability/avoid-const-params-in-decls>` diagnositics to
461
- highlight the const location
460
+ <clang-tidy/checks/readability/avoid-const-params-in-decls>` diagnostics to
461
+ highlight the `` const `` location
462
462
463
463
- Improved :doc: `readability-container-contains
464
464
<clang-tidy/checks/readability/container-contains>` to correctly handle
465
- interger literals with suffixes in fix-its.
465
+ integer literals with suffixes in fix-its.
466
466
467
467
- Improved :doc: `readability-container-size-empty
468
468
<clang-tidy/checks/readability/container-size-empty>` check to
@@ -485,7 +485,7 @@ Changes in existing checks
485
485
``camel_Snake_Case `` now detect more invalid identifier names. Fields in
486
486
anonymous records (i.e. anonymous structs and unions) now can be checked with
487
487
the naming rules associated with their enclosing scopes rather than the naming
488
- rules of public struct/ union members.
488
+ rules of public `` struct ``/`` union `` members.
489
489
490
490
- Improved :doc: `readability-implicit-bool-conversion
491
491
<clang-tidy/checks/readability/implicit-bool-conversion>` check to take
0 commit comments