[PATCH] Let __attribute__((format(…))) accept OFStrings

Jonathan Schleifer js at webkeks.org
Sat Nov 23 02:22:41 PST 2013


The following patch changes the behavior of __attribute__((format(__NSString__, …))) to also allow OFStrings as used in ObjFW. I thought about adding __OFString__ instead, but thought this would be unnecessary overhead. If people disagree, I'm more than happy to add __OFString__ instead.

Could you guys kindly review this patch and commit it if you deem it acceptable? If so, it would also nice if it could be committed to 3.4 as well.

PS: Please CC me, I'm not on the list!

--
Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ofstring_format_attribute.patch
Type: application/octet-stream
Size: 896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131123/9669aa29/attachment.obj>


More information about the cfe-commits mailing list