On Mon, Feb 1, 2016 at 4:32 PM, Aaron Ballman <aaron.ball...@gmail.com> wrote: > > ================ > Comment at: clang-tidy/readability/RedundantControlFlowCheck.cpp:60 > @@ +59,3 @@ > + if (const auto *Return = dyn_cast<ReturnStmt>(*last)) > + issueDiagnostic(Result, Block, Return->getSourceRange(), > + RedundantReturnDiag); > ---------------- > It is the LLVM coding style (though I don't personally care for it), and you > are right -- a clang-tidy check in the LLVM module wouldn't be amiss. :-)
Isn't this: http://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html? - Kim _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits