]> granicus.if.org Git - clang/commit
Remove wchar_t* buffer from scanf format fix-it test.
authorJordan Rose <jordan_rose@apple.com>
Thu, 20 Mar 2014 15:54:16 +0000 (15:54 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 20 Mar 2014 15:54:16 +0000 (15:54 +0000)
commit46348d93a09ac80cddd7a407b98a8320cfc18abc
tree8f016e7c887d940846e5eb2594a8549849c0d81d
parent100624f4302982b5d5cc554cb9ba106186f77246
Remove wchar_t* buffer from scanf format fix-it test.

Amends r204300 to not try to test fixing a wchar_t* to "%ls", which we don't
do correctly anyway. In C mode, wchar_t is just a typedef for a normal
primitive integer type, not a distinct type like it is in C++. To make this
work correctly, we'll need to look for the wchar_t typedef, not just the
builtin type.

Should fix the buildbots.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204349 91177308-0d34-0410-b5e6-96231b3b80d8
test/Sema/format-strings-fixit.c