[PATCH] D96082: [clang-tidy] Add 'readability-useless-return-value' check

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 16 15:37:22 PST 2021


steveire added a comment.

In D96082#2565339 <https://reviews.llvm.org/D96082#2565339>, @aaron.ballman wrote:

> A somewhat similar check that would be interesting is a function that returns the same value on all control paths

I think we shouldn't try to design a new, different check in the comments of this MR.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96082/new/

https://reviews.llvm.org/D96082



More information about the cfe-commits mailing list