[PATCH] D18821: Add modernize-bool-to-integer-conversion

Piotr Padlewski via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 7 09:06:50 PDT 2016


Prazek added a comment.

In http://reviews.llvm.org/D18821#394486, @alexfh wrote:

> Actually, did you think about adding this as a clang diagnostic?
>
> Richard, what do you think about complaining in Clang about `int i = true;` kind of code?


Glad to hear that :)


http://reviews.llvm.org/D18821





More information about the cfe-commits mailing list