aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-05-03 04:33:32 +0000
committerDouglas Gregor <dgregor@apple.com>2009-05-03 04:33:32 +0000
commitb8c6d5dca52e3b6ca595a25103fdaae45acb21b2 (patch)
tree66cd990792b5fd08161df57face96e2c1e1df783 /llvm/lib/Transforms/Utils/Local.cpp
parent54c6a3bf66d3ba86b5ca08042607c6cb45735065 (diff)
downloadllvm-b8c6d5dca52e3b6ca595a25103fdaae45acb21b2.zip
llvm-b8c6d5dca52e3b6ca595a25103fdaae45acb21b2.tar.gz
llvm-b8c6d5dca52e3b6ca595a25103fdaae45acb21b2.tar.bz2
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. llvm-svn: 70656
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions