[LLVMbugs] [Bug 13417] Regression: Assertion failed: (width>=0) on @implementation without @end

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 20 11:53:35 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13417

Jordan Rose <jordan_rose at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Jordan Rose <jordan_rose at apple.com> 2012-07-20 13:53:35 CDT ---
wcswidth_l doesn't like getting the column width of strings with newlines in
them, which is reasonable. But we shouldn't be printing those as fixits in text
diagnostics anyway -- they're supposed to be for one-line fixes only. So we
should just stop early if this ever comes up.

Committed in r160561, including Nico's test case. Thanks for tracking this
down, Nico!

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list