[PATCH] D117611: [Sema] Warn about printf %n on Android and Fuchsia

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 23 06:44:38 PST 2022


aaron.ballman added a comment.

In D117611#3339137 <https://reviews.llvm.org/D117611#3339137>, @glandium wrote:

> This doesn't leave much room to use `__attribute__((format(printf)))` on custom printf implementations that do support `%n` on Android does it?

+1 to this point; whether this is or is not supported depends on which libc the user is linking against.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117611



More information about the cfe-commits mailing list