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

Benjamin Kramer benny.kra at gmail.com
Thu Jul 10 05:58:49 PDT 2014


Add a test with macros and templates. We seem to be doing the right thing here.

http://reviews.llvm.org/D4458

Files:
  clang-tidy/misc/BoolPointerImplicitConversion.cpp
  clang-tidy/misc/BoolPointerImplicitConversion.h
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MiscTidyModule.cpp
  test/clang-tidy/misc-bool-pointer-implicit-conversion.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4458.11263.patch
Type: text/x-patch
Size: 6827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140710/5b19f7a0/attachment.bin>


More information about the cfe-commits mailing list