[cfe-commits] r149325 - in /cfe/trunk: include/clang/Analysis/Analyses/FormatString.h lib/Analysis/PrintfFormatString.cpp lib/Sema/SemaChecking.cpp test/SemaObjC/format-strings-objc.m

Jean-Daniel Dupas devlists at shadowlab.org
Fri Feb 3 00:52:17 PST 2012


Le 3 févr. 2012 à 08:00, Nico Weber a écrit :

> On Tue, Jan 31, 2012 at 10:59 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
>> 2012/1/31 Nico Weber <nicolasweber at gmx.de>:
>>> Author: nico
>>> Date: Mon Jan 30 19:43:25 2012
>>> New Revision: 149325
>>> 
>>> URL: http://llvm.org/viewvc/llvm-project?rev=149325&view=rev
>>> Log:
>>> Let %S, %ls, %C match 16bit types in NSStrings.
>>> 
>>> As discussed at http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120130/052200.html
>> 
>> Win32 targets(cygming and msvc) have wchar_t as unsigned short. Three
>> of expected-warnings are not seen.
> 
> Is it possible to say "this warning isn't expected on win32" somehow?
> 
> Nico


Why not defining wchar_t as an int  instead of using __WCHAR_TYPE__ for this test ? 

-- Jean-Daniel








More information about the cfe-commits mailing list