[cfe-dev] Extending printf format string checking to cover ObjC format strings in NSLog
Nikita Zhuk
nikita at zhuk.fi
Mon Jun 16 03:28:28 PDT 2008
Hello,
Current printf format string checking is very useful but it's limited
to printf -style functions which use C format strings. I would like to
propose extending this functionality to cover Objective-C format
strings in NSLog function. A simple implementation of this extension
is attached to this message.
Speaking of format strings in ObjC, are there any plans to extend
format string checking to cover ObjC methods which accept format
strings as one of their arguments, such as various -[NSString
initWithFormat:...] methods?
Best regards,
Nikita Zhuk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nslog-format-string-check.txt
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080616/f6f7c6b0/attachment.txt>
-------------- next part --------------
More information about the cfe-dev
mailing list