summaryrefslogtreecommitdiff
path: root/lib/Basic/ConvertUTFWrapper.cpp
Commit message (Collapse)AuthorAge
* Move UTF conversion routines from clang/lib/Basic to llvm/lib/SupportDmitri Gribenko2013-01-30
| | | | | | | This is required to use them in TableGen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173924 91177308-0d34-0410-b5e6-96231b3b80d8
* When a bad UTF-8 encoding or bogus escape sequence is encountered in aRichard Smith2012-09-08
| | | | | | | | string literal, produce a diagnostic pointing at the erroneous character range, not at the start of the literal. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163459 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a function to convert a single Unicode code point to a UTF8 sequence.Dmitri Gribenko2012-07-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160890 91177308-0d34-0410-b5e6-96231b3b80d8
* Share ConvertUTF8toWide() between Lex and CodeGen.Nico Weber2012-07-03
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159634 91177308-0d34-0410-b5e6-96231b3b80d8