[clang-tools-extra] [clang-tidy] modernize-avoid-bind only return for non-void function (PR #69207)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 16 10:41:26 PDT 2023
================
@@ -122,6 +122,8 @@ Improvements to clang-tidy
if any :program:`clang-tidy` subprocess exits with a non-zero code or if
exporting fixes fails.
+- Do not emit a `return` for fixes of `modernize-avoid-bind` when the function returns void.
----------------
PiotrZSL wrote:
wrong place, put it under "Changes in existing checks", follow exist format
https://github.com/llvm/llvm-project/pull/69207
More information about the cfe-commits
mailing list