[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

Eli Friedman eli.friedman at gmail.com
Wed Apr 1 16:40:37 PDT 2009


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?

-Eli




More information about the cfe-commits mailing list