[PATCH] D66856: [Sema] Suppress -Wformat diagnostics for bool types when printed using %hhd

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 11 14:58:58 PDT 2019


erik.pilkington updated this revision to Diff 219815.
erik.pilkington marked 6 inline comments as done.
erik.pilkington added a comment.

Update the diagnostic text.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66856/new/

https://reviews.llvm.org/D66856

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/AST/Expr.cpp
  clang/lib/AST/FormatString.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/test/Sema/format-bool.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66856.219815.patch
Type: text/x-patch
Size: 4860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190911/8270eb41/attachment.bin>


More information about the cfe-commits mailing list