[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 09:38:18 PDT 2022
inclyc added a comment.
If some one use `%hhd` with an unmatched type argument. Should we emit diagnose like
format specifies type 'int' but the argument has type 'WhateverType'
instead of
format specifies type 'char' but the argument has type 'WhateverType'
?
It's seems that there are many regression tests about this. Should we keep the legacy behaviour?
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