]> granicus.if.org Git - clang/commit
format string checking: long and int have the same widths on 32-bit, so we shouldn...
authorTed Kremenek <kremenek@apple.com>
Wed, 13 Jul 2011 20:20:58 +0000 (20:20 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 13 Jul 2011 20:20:58 +0000 (20:20 +0000)
commit8da9316c5a97887da0bf84a2ea45daf43ddf572b
treef1c62d2f3763358aa1a6f376d9411bac1603230a
parent84ff0fccb180098b70504c03c3072a19e6d573af
format string checking: long and int have the same widths on 32-bit, so we shouldn't warn about using
an "int" format specifier with a "long" type in 32-bit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135075 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/FormatString.cpp
test/Sema/format-strings-i386.c [new file with mode: 0644]