[PATCH] [clang-tidy] Add a checker for implicit bool conversion of a bool*.

Alexander Kornienko alexfh at google.com
Thu Jul 10 09:55:03 PDT 2014


Looks good.

================
Comment at: clang-tidy/misc/BoolPointerImplicitConversion.h:22
@@ +21,3 @@
+/// if (p) {
+///   // Never dereferenced.
+/// }
----------------
Maybe "// Never used in a pointer-specific way."?

http://reviews.llvm.org/D4458






More information about the cfe-commits mailing list