commit | ce487ef6c1ba3b35250ce5bfe053e24e34a854e6 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Apr 16 00:23:51 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Apr 16 00:23:51 2010 +0000 |
tree | 5b3e31d06a6cf3e54abd54a72c2182f5095a7fcd | |
parent | c0b39640de335809ca7544f802751112619f30cc [diff] |
Fix a bug in caret-line-pruning logic that only happens when we have a source line wider than the terminal where the associated fix-it line is longer than the caret line. Previously, we would crash in this case, which was rather unfortunate. Fixes <rdar://problem/7856226>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101426 91177308-0d34-0410-b5e6-96231b3b80d8