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

Piotr Padlewski via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 14 06:08:20 PDT 2016


Prazek added a comment.

http://reviews.llvm.org/D19105
Here is a diff containing fixes for clang. What I see is that it would be nice to detect bitfields of 1 bit and treet it as bool, so it won't warn it such cases.


http://reviews.llvm.org/D18821





More information about the cfe-commits mailing list