commit | f17126e938aab826e38c73b4f4edb3f66b320157 | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hans@hanshq.net> | Thu Oct 27 08:29:09 2011 +0000 |
committer | Stephen Hines <srhines@google.com> | Fri Nov 11 11:43:45 2011 -0800 |
tree | 28865b2b4ca3bc3463e7764988ba2dde2768a8b7 | |
parent | a1fabeffb6ee51df538ca78e91ae2b6183e08015 [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