mnbvmar added a comment. This check throws a warning also on the conversion to floats (probably very rare ones):
double number = true; Even though this behavior is correct, the code warns about the implicit conversion to **integers**. ================ Comment at: docs/ReleaseNotes.rst:119 @@ +118,3 @@ + + Replaces implicit cast from bool literals to integers to int literals. + ---------------- **with** int literals http://reviews.llvm.org/D18821 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits