Skip to content
Commit b8c6d5dc authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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
parent 54c6a3bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment