Dmitri Gribenko
4b5fc58221
Support/ConvertUTF: implement U+FFFD insertion according to the recommendation
...
given in the Unicode spec
That is, replace every maximal subpart of an ill-formed subsequence with one
U+FFFD.
llvm-svn: 211015
2014-06-16 11:09:46 +00:00
Reid Kleckner
362d3541d3
[Support] Add a Unicode conversion wrapper from UTF16 to UTF8
...
This is to support parsing UTF16 response files in LLVM/lib/Option for
lld and clang.
Reviewers: hans
Differential Revision: http://llvm-reviews.chandlerc.com/D1138
llvm-svn: 186426
2013-07-16 17:14:33 +00:00
Alex Rosenberg
049e287117
llvm-gcc -pedantic warns about C++ comments in C90 mode even if they're
...
inside an #if 0 block.
llvm-svn: 175098
2013-02-13 22:45:52 +00:00
Dmitri Gribenko
2a17a96403
LLDB uses ConvertUTF16toUTF8, remove #ifdef
...
llvm-svn: 173936
2013-01-30 15:10:12 +00:00
Dmitri Gribenko
2eaa3b382c
Move UTF conversion routines from clang/lib/Basic to llvm/lib/Support
...
This is required to use them in TableGen.
llvm-svn: 173923
2013-01-30 12:05:05 +00:00