diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-03 04:33:32 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-03 04:33:32 +0000 |
commit | 844da34736c0439ae50017826a7393406e75acd8 (patch) | |
tree | 43ac2ac218e6efa6d33eab625497d7edb248dab1 /lib/Sema/SemaInherit.cpp | |
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
Diffstat (limited to 'lib/Sema/SemaInherit.cpp')
0 files changed, 0 insertions, 0 deletions