Skip to content

Commit d86f216

Browse files
committed
[clang-tidy][NFC] Fixes in release notes and documentation
Minor fixes in documentation & release notes.
1 parent b2b3a52 commit d86f216

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ Changes in existing checks
118118
global options of the same name.
119119

120120
- Improved :doc:`bugprone-too-small-loop-variable
121-
<clang-tidy/checks/bugprone/too-small-loop-variable>` support by correctly
122-
implementing the check for const loop boundary.
121+
<clang-tidy/checks/bugprone/too-small-loop-variable>` check by incorporating
122+
better support for ``const`` loop boundaries.
123123

124124
- Cleaned up :doc:`cppcoreguidelines-prefer-member-initializer
125125
<clang-tidy/checks/cppcoreguidelines/prefer-member-initializer>`
@@ -163,13 +163,13 @@ Changes in existing checks
163163
Removed checks
164164
^^^^^^^^^^^^^^
165165

166-
Miscellaneous
167-
^^^^^^^^^^^^^
168-
169166
- Removed `cert-dcl21-cpp`, which was deprecated since :program:`clang-tidy` 17,
170167
since the rule DCL21-CPP has been removed from the CERT guidelines.
171168

172-
- Fixed incorrect formatting in ``clang-apply-repalcements`` when no ``--format``
169+
Miscellaneous
170+
^^^^^^^^^^^^^
171+
172+
- Fixed incorrect formatting in ``clang-apply-replacements`` when no ``--format``
173173
option is specified. Now ``clang-apply-replacements`` applies formatting only with
174174
the option.
175175

clang-tools-extra/docs/clang-tidy/checks/readability/avoid-return-with-void-value.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ that should be written as
2929
g();
3030
return;
3131
32-
to make clear that ``g()`` is called and immediately afterwards the function
32+
to make clear that ``g()`` is called and immediately afterwards the function
3333
returns (nothing).
3434

3535
In C, the same issue is detected by the compiler if the ``-Wpedantic`` mode
@@ -46,6 +46,6 @@ Options
4646
.. option:: StrictMode
4747

4848
The value `false` specifies that a direct return statement shall
49-
be excluded from the analysis if it is the only statement not
50-
contained in a block like ``if (cond) return g();``. The default
49+
be excluded from the analysis if it is the only statement not
50+
contained in a block, like ``if (cond) return g();``. The default
5151
value is `true`.

0 commit comments

Comments
 (0)