[PATCH] D16259: Add clang-tidy readability-redundant-return check

Eugene Zelenko via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 17 18:14:14 PST 2016


Eugene.Zelenko added a comment.

In http://reviews.llvm.org/D16259#328834, @LegalizeAdulthood wrote:

> I didn't know about the bug reports.  I created this check because I have encountered such redundant control flow in real code bases.


Bug report was reflection on my code base, but I also spotted similar patterns in LLVM.

There are a lot of Clang-tidy enhancement ideas in Bugzilla, so may be you could find some interesting enough to be implemented?


http://reviews.llvm.org/D16259





More information about the cfe-commits mailing list