[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

Nico Weber thakis at chromium.org
Fri Feb 3 15:41:07 PST 2012


On Fri, Feb 3, 2012 at 12:52 AM, Jean-Daniel Dupas
<devlists at shadowlab.org> wrote:
>
> 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 ?

Thanks, I'm trying this in r149721. Chapuni, let me know if that helps.




More information about the cfe-commits mailing list