r217467 - Objective-C. Under a special flag, -Wcstring-format-directive,

jahanian fjahanian at apple.com
Tue Sep 9 16:46:41 PDT 2014


On Sep 9, 2014, at 4:41 PM, Nico Weber <thakis at chromium.org> wrote:

> Rather than hardcoding all these symbol names in the compiler (CFStringCreateWithFormatAndArguments etc), maybe it'd be nicer to provide an attribute that has this effect and then make the declarations of these functions use the new attribute?

This is specific to how they want to use it without changing their code. Chaging the SDKs is not an option for them.
But it is something to keep in mind if we find such diagnostics useful in other situations.

- Fariborz





More information about the cfe-commits mailing list