[PATCH] D131057: [Sema] -Wformat: support C23 printf %b %B

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 3 12:25:12 PDT 2022


aaron.ballman added a comment.

In D131057#3697265 <https://reviews.llvm.org/D131057#3697265>, @enh wrote:

>> I think making scanf in the same patch makes sense. Let me check existing tests...
>
> fwiw, most of the libcs seem to have been doing these separately because scanf is harder. i hope to have bionic's scanf done this week though.
>
> (note in case you haven't already that there is no %B for scanf, just %b...)

Whoops, you're right, that recommended practice I saw nearby was for fwprintf and not fscanf.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131057



More information about the cfe-commits mailing list