kimgr added a subscriber: kimgr. kimgr added a comment. Came up with another test case.
================ Comment at: test/clang-tidy/readability-redundant-return.cpp:21-24 @@ +20,6 @@ + +void g(int i) { + if (i < 0) { + return; + } + if (i < 10) { ---------------- What happens to guard clauses invoking void functions? void h() { } void g(int i) { if(i < 0) { return h(); } } http://reviews.llvm.org/D16259 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits