]> granicus.if.org Git - clang/commit
Fix off-by-one error in UTF-16 encoding: don't try to use a surrogate pair for U...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 13 Jun 2012 05:41:29 +0000 (05:41 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 13 Jun 2012 05:41:29 +0000 (05:41 +0000)
commit59b26d84b64510158e23d80eba077b844b7e0b04
tree0005117b8e6556da67dbcb0d17546d0c5607b3f1
parentdf9ef1bc8c3780307ab2ed81bf5e31c23310b936
Fix off-by-one error in UTF-16 encoding: don't try to use a surrogate pair for U+FFFF.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158391 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/LiteralSupport.cpp
test/Lexer/char-literal.cpp