commit | 844da34736c0439ae50017826a7393406e75acd8 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Sun May 03 04:33:32 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Sun May 03 04:33:32 2009 +0000 |
tree | 43ac2ac218e6efa6d33eab625497d7edb248dab1 | |
parent | 7d101f6fd7f311b0a7fdd83a50f8668bd8a659cd [diff] |
When a fix-it hint would span multiple lines, don't print it; half a fix-it hint is much worse than no fix-it hint. (Fixes PR4084). When we need to truncate a source line to fix in the terminal, make sure to take the width of the fix-it information into account, too. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70656 91177308-0d34-0410-b5e6-96231b3b80d8