]> granicus.if.org Git - clang/commit
Support the 'a' scanf length modifier as an extension in C++.
authorHans Wennborg <hans@hanshq.net>
Wed, 28 Dec 2011 13:10:50 +0000 (13:10 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 28 Dec 2011 13:10:50 +0000 (13:10 +0000)
commit5294c792c715b8dba26711be482b7a32be04d4d5
treefe1abdf57d2363b5f578ef24bd3bc9dc4050c4cd
parent72b20ff76a9070c1a481331e857aa825ae37c97f
Support the 'a' scanf length modifier as an extension in C++.

It should not be supported in C++11, since that uses the C99 standard
library, in which 'a' is a format specifier.

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