Commit Graph

4 Commits

Author SHA1 Message Date
Eli Friedman 64f45a24b1 Fix the representation of wide strings in the AST and IR so that it uses the native representation of integers for the elements. This fixes a bunch of nastiness involving
treating wide strings as a series of bytes.

Patch by Seth Cantrell.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143417 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-01 02:23:42 +00:00
Eli Friedman a40b7f2c4a Update clang tests for r137527.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137535 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-12 23:33:52 +00:00
Chris Lattner 3f59c975aa The -fshort-wchar option causes wchar_t to become unsigned, in addition to being
16-bits in size.  Implement this by splitting WChar into two enums, like we have
for char.  This fixes a miscompmilation of XULRunner, PR8856.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122558 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-25 23:25:43 +00:00
Fariborz Jahanian 64a8034226 Fix a miscompile of wchar pascal strings.
(radar 8020384)


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104996 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-28 19:40:48 +00:00