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

Krystyna via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 6 11:44:25 PDT 2016


krystyna added inline comments.

================
Comment at: docs/clang-tidy/checks/modernize-bool-to-integer-conversion.rst:9
@@ +8,3 @@
+.. code-block:: C++
+  int a = false
+  vector<bool> v(true); // Makes vector of one element
----------------
int a = false;


http://reviews.llvm.org/D18821





More information about the cfe-commits mailing list