Craig Topper
e1d1294853
Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting them be implicitly created.
...
llvm-svn: 216525
2014-08-27 05:25:25 +00:00
Dmitri Gribenko
ebdd0a52e1
ConvertUTF tests: remove uses of initializer lists to restore compatibility
...
with MSVC
llvm-svn: 211093
2014-06-17 09:33:24 +00:00
Dmitri Gribenko
1089db0ee6
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
7df03c2e30
[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