summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/ConvertUTF.c
Commit message (Collapse)AuthorAgeFilesLines
* Move UTF conversion routines from clang/lib/Basic to llvm/lib/SupportDmitri Gribenko2013-01-301-571/+0
| | | | | | This is required to use them in TableGen. llvm-svn: 173924
* isLegalUTF8() was giving the wrong answerSeth Cantrell2012-10-301-1/+1
| | | | | | invalid but not caught by isLegalUTF8(): 0xED 0x75 0x84 llvm-svn: 167063
* When a bad UTF-8 encoding or bogus escape sequence is encountered in aRichard Smith2012-09-081-5/+15
| | | | | | | string literal, produce a diagnostic pointing at the erroneous character range, not at the start of the literal. llvm-svn: 163459
* Enabling the UTF conversion routines that were previously conditionally ↵Enrico Granata2012-09-061-2/+0
| | | | | | ifdef'ed out. This change is required to support enhancements in the LLDB data formatters llvm-svn: 163331
* Add a function to convert a single Unicode code point to a UTF8 sequence.Dmitri Gribenko2012-07-271-2/+1
| | | | llvm-svn: 160890
* When checking the encoding of an 8-bit string literal, don't just check theRichard Smith2012-03-081-3/+19
| | | | | | | first codepoint! Also, don't reject empty raw string literals for spurious "encoding" issues. Also, don't rely on undefined behavior in ConvertUTF.c. llvm-svn: 152344
* Move ConvertUTF8toUTF32 out of #if 0, in preparation for a patch which needs it.Eli Friedman2011-11-011-61/+62
| | | | llvm-svn: 143415
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-303/+303
| | | | llvm-svn: 81346
* Fixup whitespacing.Mike Stump2009-04-141-2/+2
| | | | llvm-svn: 69055
* Add ConvertUTF module from http://www.unicode.org/Public/PROGRAMS/CVTUTF.Steve Naroff2009-04-011-0/+547
#ifdef'd out the 5 conversion routines that we don't currently need. Still need a bit more work in GetAddrOfConstantCFString(). Added a FIXME to indicate this. Expect to remove the FIXME today... llvm-svn: 68208
OpenPOWER on IntegriCloud