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
This commit is contained in:
Nico Weber
2012-02-04 01:50:30 +00:00
parent 3d97a9beb9
commit d1928cb912

View File

@@ -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