[cfe-dev] [PATCH] Let __attribute__((format(…))) accept OFStrings

Jonathan Schleifer js at webkeks.org
Wed Nov 27 08:50:38 PST 2013


Am 27.11.2013 um 17:47 schrieb David Chisnall <David.Chisnall at cl.cam.ac.uk>:

> This seems the wrong way around.  You'd want to define a per-method thing, not a per-receiver thing, so we'd just want to define a new printf flavour and add things to it.  

Uhm, this is exactly what I meant: Add a new printf flavour, but let it accept an OFString* (or subclass) instead of a const char*. Or how exactly are we misunderstanding each other here?

--
Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131127/aae4c2cd/attachment.sig>


More information about the cfe-dev mailing list