aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra
diff options
context:
space:
mode:
authorPiotr Zegar <me@piotrzegar.pl>2024-02-09 18:19:53 +0000
committerPiotr Zegar <me@piotrzegar.pl>2024-02-09 18:20:01 +0000
commitd86f21693c5fb8eaa597cfcb15813ffc52d00847 (patch)
treece8283283548bc7dcacd379c512cbf1c337603cb /clang-tools-extra
parentb2b3a5248540320e74347fcdaffbd148d1e9d494 (diff)
downloadllvm-d86f21693c5fb8eaa597cfcb15813ffc52d00847.zip
llvm-d86f21693c5fb8eaa597cfcb15813ffc52d00847.tar.gz
llvm-d86f21693c5fb8eaa597cfcb15813ffc52d00847.tar.bz2
[clang-tidy][NFC] Fixes in release notes and documentation
Minor fixes in documentation & release notes.
Diffstat (limited to 'clang-tools-extra')
-rw-r--r--clang-tools-extra/docs/ReleaseNotes.rst12
-rw-r--r--clang-tools-extra/docs/clang-tidy/checks/readability/avoid-return-with-void-value.rst6
2 files changed, 9 insertions, 9 deletions
diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst
index dff8dd2..ee68c8f 100644
--- a/clang-tools-extra/docs/ReleaseNotes.rst
+++ b/clang-tools-extra/docs/ReleaseNotes.rst
@@ -118,8 +118,8 @@ Changes in existing checks
global options of the same name.
- Improved :doc:`bugprone-too-small-loop-variable
- <clang-tidy/checks/bugprone/too-small-loop-variable>` support by correctly
- implementing the check for const loop boundary.
+ <clang-tidy/checks/bugprone/too-small-loop-variable>` check by incorporating
+ better support for ``const`` loop boundaries.
- Cleaned up :doc:`cppcoreguidelines-prefer-member-initializer
<clang-tidy/checks/cppcoreguidelines/prefer-member-initializer>`
@@ -163,13 +163,13 @@ Changes in existing checks
Removed checks
^^^^^^^^^^^^^^
-Miscellaneous
-^^^^^^^^^^^^^
-
- Removed `cert-dcl21-cpp`, which was deprecated since :program:`clang-tidy` 17,
since the rule DCL21-CPP has been removed from the CERT guidelines.
-- Fixed incorrect formatting in ``clang-apply-repalcements`` when no ``--format``
+Miscellaneous
+^^^^^^^^^^^^^
+
+- Fixed incorrect formatting in ``clang-apply-replacements`` when no ``--format``
option is specified. Now ``clang-apply-replacements`` applies formatting only with
the option.
diff --git a/clang-tools-extra/docs/clang-tidy/checks/readability/avoid-return-with-void-value.rst b/clang-tools-extra/docs/clang-tidy/checks/readability/avoid-return-with-void-value.rst
index d802f9b..b079581 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/readability/avoid-return-with-void-value.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/readability/avoid-return-with-void-value.rst
@@ -29,7 +29,7 @@ that should be written as
g();
return;
-to make clear that ``g()`` is called and immediately afterwards the function
+to make clear that ``g()`` is called and immediately afterwards the function
returns (nothing).
In C, the same issue is detected by the compiler if the ``-Wpedantic`` mode
@@ -46,6 +46,6 @@ Options
.. option:: StrictMode
The value `false` specifies that a direct return statement shall
- be excluded from the analysis if it is the only statement not
- contained in a block like ``if (cond) return g();``. The default
+ be excluded from the analysis if it is the only statement not
+ contained in a block, like ``if (cond) return g();``. The default
value is `true`.