[cfe-commits] [Patch] scanf argument type warnings

Hans Wennborg hans at chromium.org
Fri Dec 9 07:56:30 PST 2011


Hi all,

The attached patch adds code to check that the arguments to a scanf
call matches the format specifier, and offers fixits when there is a
mismatch. (printf has all this already.)

Please take a look.

Thanks,
Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scanf-argument-type-warnings.diff
Type: text/x-patch
Size: 20847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111209/112b1213/attachment.bin>


More information about the cfe-commits mailing list