commit | 29e97cb35fab314388f62b68fefa78947e93c1dc | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hans@hanshq.net> | Thu Oct 27 08:29:09 2011 +0000 |
committer | Hans Wennborg <hans@hanshq.net> | Thu Oct 27 08:29:09 2011 +0000 |
tree | ef30883ed59f503100b456acf04d5f319e176cea | |
parent | 98a9203d80b6a5ff90edf037b1595f553fc81b15 [diff] |
Teach format string analysis that "%zu" means size_t. The code had it backwards, thinking size_t was signed, and using that for "%zd". Also let the analysis get the types for (u)intmax_t while we are at it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143099 91177308-0d34-0410-b5e6-96231b3b80d8