Skip to content

Commit db17a3f

Browse files
committed
[clang-tidy][DOC] Fix some speling mistakes in release notes
Reorder checks & fix some formating.
1 parent 356c2c2 commit db17a3f

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -224,18 +224,18 @@ New checks
224224
Recommends the smallest possible underlying type for an ``enum`` or ``enum``
225225
class based on the range of its enumerators.
226226

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-
233227
- New :doc:`readability-avoid-return-with-void-value
234228
<clang-tidy/checks/readability/avoid-return-with-void-value>` check.
235229

236230
Finds return statements with ``void`` values used within functions with
237231
``void`` result types.
238232

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+
239239
New check aliases
240240
^^^^^^^^^^^^^^^^^
241241

@@ -395,7 +395,7 @@ Changes in existing checks
395395

396396
- Improved :doc:`misc-unused-using-decls
397397
<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.
399399

400400
- Improved :doc:`modernize-avoid-bind
401401
<clang-tidy/checks/modernize/avoid-bind>` check to
@@ -435,34 +435,34 @@ Changes in existing checks
435435

436436
- Improved :doc:`modernize-use-using
437437
<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.
440440

441441
- Improved :doc:`performance-faster-string-find
442442
<clang-tidy/checks/performance/faster-string-find>` check to properly escape
443443
single quotes.
444444

445445
- Improved :doc:`performance-noexcept-move-constructor
446446
<clang-tidy/checks/performance/noexcept-move-constructor>` to better handle
447-
conditional noexcept expressions, eliminating false-positives.
447+
conditional ``noexcept`` expressions, eliminating false-positives.
448448

449449
- Improved :doc:`performance-noexcept-swap
450450
<clang-tidy/checks/performance/noexcept-swap>` check to enforce a stricter
451451
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.
454454

455455
- Improved :doc:`readability-braces-around-statements
456456
<clang-tidy/checks/readability/braces-around-statements>` check to
457457
ignore false-positive for ``if constexpr`` in lambda expression.
458458

459459
- 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
462462

463463
- Improved :doc:`readability-container-contains
464464
<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.
466466

467467
- Improved :doc:`readability-container-size-empty
468468
<clang-tidy/checks/readability/container-size-empty>` check to
@@ -485,7 +485,7 @@ Changes in existing checks
485485
``camel_Snake_Case`` now detect more invalid identifier names. Fields in
486486
anonymous records (i.e. anonymous structs and unions) now can be checked with
487487
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.
489489

490490
- Improved :doc:`readability-implicit-bool-conversion
491491
<clang-tidy/checks/readability/implicit-bool-conversion>` check to take

0 commit comments

Comments
 (0)