[cfe-commits] r65586 - in /cfe/trunk: lib/AST/ASTContext.cpp lib/Sema/SemaInit.cpp test/Sema/wchar_size.c

Chris Lattner sabre at nondot.org
Thu Feb 26 20:43:29 PST 2009


On Feb 26, 2009, at 4:15 PM, Eli Friedman wrote:

> On Thu, Feb 26, 2009 at 4:12 PM, Eli Friedman  
> <eli.friedman at gmail.com> wrote:
>> On Thu, Feb 26, 2009 at 3:36 PM, Chris Lattner <sabre at nondot.org>  
>> wrote:
>>> -  if (Context.typesAreCompatible(Context.WCharTy, AT- 
>>> >getElementType()))
>>> +  if (Context.typesAreCompatible(Context.getWCharType(), AT- 
>>> >getElementType()))
>>
>> Maybe WCharTy should be private, so nobody messes this up again?
>
> Ah, nevermind, I see you went with another solution.

Yeah, I was really confused there for a second when I was getting a  
wchar_t that was incompatible with int...

-Chris



More information about the cfe-commits mailing list