[PATCH] D42933: [Sema] Avoid -Wformat warning for NSInteger/NSUInteger 'int' values with %zu/%zi long specifiers

JF Bastien via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 23 09:43:52 PDT 2018

jfb added a comment.

Based on the cfe-dev discussion <http://lists.llvm.org/pipermail/cfe-dev/2018-May/058050.html> we'll want to handle the case of NSInteger with `%z` format on Darwin separately from other attempts at portability warnings in printf formats. I'll therefore re-post this patch as-is and CC all of you.

  rC Clang


More information about the cfe-commits mailing list