[PATCH] D131057: [Sema] -Wformat: support C23 printf %b %B
Dimitry Andric via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 3 11:04:08 PDT 2022
dim added a comment.
> GCC 12 -Wformat -pedantic emits a warning:
> warning: ISO C17 does not support the ‘%b’ gnu_printf format [-Wformat=]
> The behavior is not ported (and it's unclear to me how to implement it).
If you really want this, I think it can be implemented by looking at `LangOpts::LangStd`.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the cfe-commits