summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/format-strings.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Format string warnings: don't a.k.a. wchar_t with wchar_t.Hans Wennborg2012-01-311-0/+4
| | | | | | | | | | | This fixes the case where Clang would output: error: format specifies type 'wchar_t *' (aka 'wchar_t *') ArgTypeResult::getRepresentativeTypeName needs to take into account that wchar_t can be a built-in type (as opposed to in C, where it is a typedef). llvm-svn: 149387
* Support the 'a' scanf length modifier as an extension in C++.Hans Wennborg2011-12-281-0/+15
It should not be supported in C++11, since that uses the C99 standard library, in which 'a' is a format specifier. llvm-svn: 147310
OpenPOWER on IntegriCloud