commit | c7bb384d608aeae23a6c95114569da0c3eae10fe | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Sep 13 18:37:50 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Sep 13 18:37:50 2012 +0000 |
tree | a4d4884346d51f318097736fac225243bc080e70 | |
parent | be879727893994532b4a643bfae6fb656742057f [diff] |
Make TextDiagnostic more robust against SourceLocations which point into the middle of UTF-8 characters, and avoid walking to such positions when adjusting column ranges for display. Fixes a couple of hangs when rendering diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163820 91177308-0d34-0410-b5e6-96231b3b80d8