]> granicus.if.org Git - clang/commit
Format strings: suggest %lld instead of %qd and %Ld with -Wformat-non-iso.
authorJordan Rose <jordan_rose@apple.com>
Sat, 8 Sep 2012 04:00:12 +0000 (04:00 +0000)
committerJordan Rose <jordan_rose@apple.com>
Sat, 8 Sep 2012 04:00:12 +0000 (04:00 +0000)
commit8be066e6733364cd34f25c4f7b7344f72aa23369
tree0831a6c6016ee62155c9ed3bc1e1a61d27b2e7db
parentbbb6bb4952b77e57b842b4d3096848123ae690e7
Format strings: suggest %lld instead of %qd and %Ld with -Wformat-non-iso.

As a corollary to the previous commit, even when an extension is
available, we can still offer a fixit to the standard modifier.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163453 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Analyses/FormatString.h
lib/Analysis/FormatString.cpp
lib/Sema/SemaChecking.cpp
test/Sema/format-strings-non-iso.c
test/Sema/format-strings.c