r217467 - Objective-C. Under a special flag, -Wcstring-format-directive,
jahanian
fjahanian at apple.com
Thu Sep 11 12:24:15 PDT 2014
On Sep 9, 2014, at 4:46 PM, jahanian <fjahanian at apple.com> wrote:
>
> 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?
I did this for existing __attribute__((format(CF/NSString, ...))). In r217619.
- Fariborz
>
> 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
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140911/a0970538/attachment.html>
More information about the cfe-commits
mailing list