[cfe-commits] r68245 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/CodeGen/CodeGenModule.cpp lib/Sema/SemaChecking.cpp test/SemaObjC/ucn-objc-string.m

steve naroff snaroff at apple.com
Wed Apr 1 17:30:12 PDT 2009


On Apr 1, 2009, at 7:40 PM, Eli Friedman wrote:

> On Wed, Apr 1, 2009 at 2:16 PM, Steve Naroff <snaroff at apple.com>  
> wrote:
>> +    StringLength = ToPtr-&ToBuf[0];
>> +    str.assign((char *)&ToBuf[0], StringLength*2); // Twice as  
>> many UTF8 chars.
>
> Doesn't this need to handle endianness somehow?

Possibly. Daniel and I spoke about this issue earlier today...I plan  
on adding a FIXME.

At the moment, I'm trying to figure out why one of my test cases isn't  
working properly (I don't think it has anything to do with endianness).

snaroff

>
>
> -Eli




More information about the cfe-commits mailing list