[PATCH] D132266: [Clang][SemaChecking] move %hh and %h -Wformat warnings to -Wformat-pedantic

YingChi Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 22 07:22:32 PDT 2022


inclyc added a comment.

What I'm confusing is
Which of the following two explanations is the exact meaning of `hhd`?

1. consumes a 32-bit signed integer, then truncates it *inside* printf
2. consumes an 8-bit signed integer

If it is the case 1, we should not emit this warning, but N2562 said that it still seems to be 2 ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132266



More information about the cfe-commits mailing list