[PATCH] D59802: [clang-tidy] Add new checker: llvm-avoid-cast-in-conditional

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 1 11:10:49 PDT 2019


Eugene.Zelenko added a comment.

In D59802#1450185 <https://reviews.llvm.org/D59802#1450185>, @xbolva00 wrote:

> Do we have any checker to recommend llvm functions over std ?
>
> e.g. llvm::sort, llvm::all_of, ...


No. Actually LLVM coding conventions support is very limited. See https://clang.llvm.org/extra/clang-tidy/checks/list.html.

I think check for auto usage is useful too.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59802





More information about the cfe-commits mailing list