[PATCH] Accept %k format specifier
Jonathan Schleifer
js at webkeks.org
Sat Nov 23 02:25:16 PST 2013
As with the patch before it is now possible to check format strings, it also became necessary to introduce a new format specifier to Clang: %k. This format specifier is used for of_unichar_t, a single Unicode character in ObjFW. This used to be %C, like unichar in Cocoa, however, I changed it to %k as this makes it possible to mix code from both worlds. unichar and of_unichar_t are incompatible (16 bit vs 32 bit), thus it became necessary to add a new format specifier.
Please review and commit this patch! It would also be appreciated a lot if both patches could still make it into 3.4.
PS: Please CC me, as I'm not on the list!
--
Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: k_format_specifier.patch
Type: application/octet-stream
Size: 3289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131123/a43d2af1/attachment.obj>
More information about the cfe-commits
mailing list