| commit | 812924502bb7fbe0525757576aa2d16072ab5a87 | [log] [tgz] |
|---|---|---|
| author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Mar 08 21:59:28 2012 +0000 |
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Mar 08 21:59:28 2012 +0000 |
| tree | cf817c7931b543509af5f99d86be261a19e92b85 | |
| parent | 0ef86b0ea3392c672dd3ce69e32aa6d3d33603dd [diff] |
When checking the encoding of an 8-bit string literal, don't just check the 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