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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 19 07:29:20 PST 2016


aaron.ballman added inline comments.

================
Comment at: clang-tidy/readability/RedundantReturnCheck.h:26
@@ +25,3 @@
+/// http://clang.llvm.org/extra/clang-tidy/checks/readability-redundant-return.html
+class RedundantReturnCheck : public ClangTidyCheck {
+public:
----------------
alexfh wrote:
> aaron.ballman wrote:
> > Since this also handling continue, I think this would be SpuriousFlowControlCheck instead?
> Maybe `RedundantControlFlowStatementsCheck`?
I like that name better. :-)


http://reviews.llvm.org/D16259





More information about the cfe-commits mailing list