[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:11:35 PDT 2022


inclyc added a comment.

N2562.pdf:

> Modify 7.21.6.2p12:
> ...
>  Unless a length modifier is specified, t~~T~~he corresponding argument shall be a pointer to int ~~signed integer~~.

Does this clarification statement mean that `hhd` should not be considered to correspond to `int`, but a `signed char`? If so, could this exactly imply that we have unmatched argument type? (i.e. `int` <--x--> `hhd` (signed char) )


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