diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-02-04 01:50:30 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-02-04 01:50:30 +0000 |
commit | d1928cb9123d77240add4a49b43968918f1937f9 (patch) | |
tree | 4c7faa985b1b2dd9b826cfc9c5e81ce52839fc36 /clang/test/SemaObjC/format-strings-objc.m | |
parent | 3d97a9beb9466a34fa3624f2eb11b9f1bc283dd0 (diff) | |
download | bcm5719-llvm-d1928cb9123d77240add4a49b43968918f1937f9.tar.gz bcm5719-llvm-d1928cb9123d77240add4a49b43968918f1937f9.zip |
Revert r149721. chapuni tells me akyrtzi already fixed the test
by adding a triple, and the typedef makes things worse on windows.
llvm-svn: 149740
Diffstat (limited to 'clang/test/SemaObjC/format-strings-objc.m')
-rw-r--r-- | clang/test/SemaObjC/format-strings-objc.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/format-strings-objc.m b/clang/test/SemaObjC/format-strings-objc.m index 34a18be1548..a4d6eebbaca 100644 --- a/clang/test/SemaObjC/format-strings-objc.m +++ b/clang/test/SemaObjC/format-strings-objc.m @@ -116,8 +116,7 @@ void check_NSLocalizedString() { [Foo fooWithFormat:NSLocalizedString(@"format"), @"arg"]; // no-warning } -// Not __WCHAR_TYPE__ because that's 2 byte on windows. -typedef int wchar_t; +typedef __WCHAR_TYPE__ wchar_t; // Test that %S, %C, %ls check for 16 bit types in ObjC strings, as described at // http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html#//apple_ref/doc/uid/TP40004265 |