[PATCH] D18745: [clang-tidy] Adds modernize-use-bool-literals check.

Eugene Zelenko via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 6 09:43:50 PDT 2016


Eugene.Zelenko added a comment.

In http://reviews.llvm.org/D18745#391210, @Prazek wrote:

> In http://reviews.llvm.org/D18745#390739, @Eugene.Zelenko wrote:
>
> > Isn't readability-implicit-bool-cast¶ should catch such issues? If not, I think will be good idea to improve that check instead of introducing new one.
>
>
> I wouldn't add this functionality there. I see that readability-implicit-bool-cast aims much different problem.


We have a lot of casts related checks, so may be will be good idea to introduce dedicated group for such them?


http://reviews.llvm.org/D18745





More information about the cfe-commits mailing list