[PATCH] D15935: Improve diagnostics for literal conversion to Boolean

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 26 08:31:37 PST 2017


aaron.ballman updated this revision to Diff 124308.
aaron.ballman added a comment.

Ping. Rebased on ToT.


https://reviews.llvm.org/D15935

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaChecking.cpp
  test/Analysis/casts.c
  test/CXX/dcl.decl/dcl.init/dcl.init.list/p7-0x.cpp
  test/CXX/expr/expr.unary/expr.unary.op/p6.cpp
  test/Sema/exprs.c
  test/Sema/warn-string-conversion.c
  test/SemaCXX/condition.cpp
  test/SemaCXX/overload-call.cpp
  test/SemaCXX/warn-literal-conversion.cpp
  test/SemaCXX/warn-string-conversion.cpp
  test/SemaCXX/warn-thread-safety-analysis.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15935.124308.patch
Type: text/x-patch
Size: 17171 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171126/d857fdd7/attachment-0001.bin>


More information about the cfe-commits mailing list