[PATCH] D45601: Warn on bool* to bool conversion

Aditya Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 17 07:46:42 PDT 2018


hiraditya updated this revision to Diff 142776.
hiraditya added a comment.

Warn on bool* to bool conversion during a call only.


https://reviews.llvm.org/D45601

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaChecking.cpp
  test/SemaCXX/warn-bool-ptr-to-bool.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45601.142776.patch
Type: text/x-patch
Size: 4777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180417/36fd7478/attachment.bin>


More information about the cfe-commits mailing list