[PATCH] D67775: [Sema] Split out -Wformat-type-confusion from -Wformat-pedantic

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 19 13:12:30 PDT 2019


erik.pilkington created this revision.
erik.pilkington added a reviewer: aaron.ballman.
Herald added subscribers: ributzka, dexonsmith, jkorous.
Herald added a project: clang.

The warnings now in -Wformat-type-confusion don't align with how we interpret 'pedantic' in clang, and don't belong in `-pedantic`.

Suggested by Aaron here: D66856 <https://reviews.llvm.org/D66856>

Thanks for taking a look!
Erik


Repository:
  rC Clang

https://reviews.llvm.org/D67775

Files:
  clang/include/clang/AST/FormatString.h
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/AST/FormatString.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/test/Sema/format-bool.c
  clang/test/Sema/format-strings-pedantic.c
  clang/test/Sema/format-type-confusion.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67775.220902.patch
Type: text/x-patch
Size: 10441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190919/2505c8ec/attachment.bin>


More information about the cfe-commits mailing list