<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Sep 9, 2014, at 4:46 PM, jahanian <<a href="mailto:fjahanian@apple.com">fjahanian@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>On Sep 9, 2014, at 4:41 PM, Nico Weber <<a href="mailto:thakis@chromium.org">thakis@chromium.org</a>> wrote:<br><br><blockquote type="cite">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?<br></blockquote></blockquote><div><br></div>I did this for existing <span style="font-family: Menlo; font-size: 11px;">__attribute__((format(CF/NSString, ...))). In r</span><span style="font-family: Menlo; font-size: 11px;">217619.</span></div><div><font face="Menlo"><span style="font-size: 11px;">- Fariborz</span></font></div><div><font face="Menlo"><span style="font-size: 11px;"><br></span></font><blockquote type="cite"><br>This is specific to how they want to use it without changing their code. Chaging the SDKs is not an option for them.<br>But it is something to keep in mind if we find such diagnostics useful in other situations.<br><br>- Fariborz<br><br><br>_______________________________________________<br>cfe-commits mailing list<br><a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits<br></blockquote></div><br></body></html>