[clang-tools-extra] [clang-tidy] modernize-avoid-bind only return for non-void function (PR #69207)

via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 16 11:44:28 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.
----------------
5chmidti wrote:

done

https://github.com/llvm/llvm-project/pull/69207


More information about the cfe-commits mailing list