[PATCH] D83188: [clang-tidy] bugprone-bool-pointer-implicit-conversion doesn't handle members

Alex Cameron via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 5 23:06:27 PDT 2020


tetsuo-cpp created this revision.
tetsuo-cpp added reviewers: njames93, MaskRay.
tetsuo-cpp added projects: clang, clang-tools-extra.
Herald added subscribers: cfe-commits, xazax.hun.

Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=45189
This patch is adding support for members to the `bugprone-bool-pointer-implicit-conversion` check. Apologies if I've done this in a weird/wrong way, I'm still getting my head around the matching DSL.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83188

Files:
  clang-tools-extra/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.cpp
  clang-tools-extra/test/clang-tidy/checkers/bugprone-bool-pointer-implicit-conversion.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83188.275590.patch
Type: text/x-patch
Size: 5491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200706/67a2dffe/attachment.bin>


More information about the cfe-commits mailing list