commit | 49d517467c3dcd2c67e8a6c740ba5160e37625f7 | [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 | a41241684cb33d87947bea6ae6a0c7caf07a8933 | |
parent | 188158db29f50443b6e412f2a40c800b2669c957 [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152344 91177308-0d34-0410-b5e6-96231b3b80d8