diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst index dff8dd279940f..ee68c8f49b3df 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 - ` support by correctly - implementing the check for const loop boundary. + ` check by incorporating + better support for ``const`` loop boundaries. - Cleaned up :doc:`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 d802f9be829c4..b07958188d313 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`.