commit | 5c41ee8c49995fb4fd76d686b239c15cbab261ea | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Feb 11 09:27:41 2010 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Feb 11 09:27:41 2010 +0000 |
tree | b8fc243b142bb4fdd68ee1783c2aa8cd4feb9cdc | |
parent | 824d7ea07a4e9208925daa6ae9289fb2b39bce9f [diff] |
Patch by Cristian Draghici: Enhance the printf format string checking when using the format specifier flags ' ', '0', '+' with the 'p' or 's' conversions (since they are nonsensical and undefined). This is similar to GCC's checking. Also warning when a precision is used with the 'p' conversin specifier, since it has no meaning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95869 91177308-0d34-0410-b5e6-96231b3b80d8