[clang-tools-extra] [clang-tidy] Add check readability-return-expression-in-void-function (PR #76249)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 23 10:07:30 PST 2023
Danny =?utf-8?q?Mösch?= <danny.moesch at icloud.com>,
Danny =?utf-8?q?Mösch?= <danny.moesch at icloud.com>,
Danny =?utf-8?q?Mösch?= <danny.moesch at icloud.com>,
Danny =?utf-8?q?Mösch?= <danny.moesch at icloud.com>,
Danny =?utf-8?q?Mösch?= <danny.moesch at icloud.com>,
Danny =?utf-8?q?Mösch?= <danny.moesch at icloud.com>,
Danny =?utf-8?q?Mösch?= <danny.moesch at icloud.com>,
Danny =?utf-8?q?Mösch?= <danny.moesch at icloud.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/76249 at github.com>
================
@@ -221,9 +221,8 @@ New checks
- New :doc:`readability-avoid-return-with-void-value
<clang-tidy/checks/readability/avoid-return-with-void-value>` check.
- Complains about statements returning expressions of type ``void``. It can be
- confusing if a function returns an expression even though its return type is
- ``void``.
+ Finds return statements with ``void`` values used within functions with
----------------
PiotrZSL wrote:
synchronize class description, release note and first sentence in documentation.
https://github.com/llvm/llvm-project/pull/76249
More information about the cfe-commits
mailing list