[PATCH] D18821: Add bugprone-bool-to-integer-conversion
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Tue May 17 12:14:26 PDT 2016
alexfh requested changes to this revision.
This revision now requires changes to proceed.
Comment at: docs/clang-tidy/checks/bugprone-bool-to-integer-conversion.rst:43
@@ +42,3 @@
+This is because z and ``true`` will be implicitly converted to int by promotion.
+To get rid of this case use
This is a false positive and should be fixed regardless of whether we disable fixits or not. Just documenting it doesn't help much.
More information about the cfe-commits