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 | b8c6d5dca52e3b6ca595a25103fdaae45acb21b2 (patch) | |
| tree | 66cd990792b5fd08161df57face96e2c1e1df783 /clang/lib/Sema/IdentifierResolver.cpp | |
| parent | 54c6a3bf66d3ba86b5ca08042607c6cb45735065 (diff) | |
| download | bcm5719-llvm-b8c6d5dca52e3b6ca595a25103fdaae45acb21b2.tar.gz bcm5719-llvm-b8c6d5dca52e3b6ca595a25103fdaae45acb21b2.zip | |
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 'clang/lib/Sema/IdentifierResolver.cpp')
0 files changed, 0 insertions, 0 deletions

