[PATCH] D18745: [clang-tidy] Adds modernize-use-bool-literals check.

Jakub StaroĊ„ via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 04:07:34 PDT 2016


staronj added inline comments.

================
Comment at: clang-tidy/modernize/UseBoolLiteralsCheck.cpp:56
@@ +55,3 @@
+                   "converting integer literal to "
+                   "bool%select{| inside a macro}0, use bool literal instead");
+
----------------
alexfh wrote:
> Can you explain, why is it important to note that this happens "inside a macro"?
"Inside a macro" removed.


http://reviews.llvm.org/D18745





More information about the cfe-commits mailing list