Author: nico
Date: Fri Feb 3 19:50:30 2012
New Revision: 149740
URL: http://llvm.org/viewvc/llvm-project?rev=149740&view=rev
Log:
Revert r149721. chapuni tells me akyrtzi already fixed the test
by adding a triple, and the typedef makes things worse on windows.
Modified:
cfe/trunk/test/SemaObjC/format-strings-objc.m
Modified: cfe/trunk/test/SemaObjC/format-strings-objc.m
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/format-strings-objc.m?rev=149740&r1=149739&r2=149740&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/format-strings-objc.m (original)
+++ cfe/trunk/test/SemaObjC/format-strings-objc.m Fri Feb 3 19:50:30 2012
@@ -116,8 +116,7 @@
[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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits