improve highlighting of invalid string encodings
authorSeth Cantrell <seth.cantrell@gmail.com>
Sun, 28 Oct 2012 18:24:46 +0000 (18:24 +0000)
committerSeth Cantrell <seth.cantrell@gmail.com>
Sun, 28 Oct 2012 18:24:46 +0000 (18:24 +0000)
commit4cfc817a9ad9f30f3380f7f5cd816f65cd1d4c49
tree891af0cbde1af7e4f0470cbbdc73c0ba9cb709af
parent59a8e49f01ee7ef465deced6f86ef6d0ee9b9319
improve highlighting of invalid string encodings

limit highlight to exactly the bad encoding, and highlight every
bad encoding in a string.

llvm-svn: 166900
clang/lib/Lex/LiteralSupport.cpp
clang/test/Misc/wrong-encoding.c