]> granicus.if.org Git - clang/commit
Format strings: %Ld isn't available on Darwin or Windows.
authorJordan Rose <jordan_rose@apple.com>
Sat, 8 Sep 2012 04:00:03 +0000 (04:00 +0000)
committerJordan Rose <jordan_rose@apple.com>
Sat, 8 Sep 2012 04:00:03 +0000 (04:00 +0000)
commitbbb6bb4952b77e57b842b4d3096848123ae690e7
treed818e14d06c2b7cc7f7b0164f31e6bb5f40c8388
parent7ac9ef1c82c779a5348ed11b3d10e01c58803b35
Format strings: %Ld isn't available on Darwin or Windows.

This seems to be a GNU libc extension; we offer a fixit to %lld on
these platforms.

<rdar://problem/11518237>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163452 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Analyses/FormatString.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/Analysis/FormatString.cpp
lib/Analysis/PrintfFormatString.cpp
lib/Analysis/ScanfFormatString.cpp
lib/Sema/SemaChecking.cpp
test/Sema/format-strings-gnu.c [new file with mode: 0644]
test/Sema/format-strings-non-iso.c
test/Sema/format-strings-scanf.c
test/Sema/format-strings.c