]> granicus.if.org Git - clang/commit
Remove support for splitting word-wrapped diagnostic messages on newline
authorChandler Carruth <chandlerc@gmail.com>
Mon, 26 Sep 2011 01:44:29 +0000 (01:44 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 26 Sep 2011 01:44:29 +0000 (01:44 +0000)
commit3a2180910a2e6008c2c282f885708d822d2f12c2
treef7440518269a9a801f3e8b84a96e5d4c64e1b185
parent45b19dea3633737cabdd9a86477f7f2e07024595
Remove support for splitting word-wrapped diagnostic messages on newline
characters. I could find no newline character in a diagnostic message,
and adding an assert to this code never fires in the testsuite.

I think this code is essentially dead, and was previously used for
a different purpose. If I just don't understand how it is we can end up
with a newline here please let me know (with a test case?) and I'll
revert.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140497 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/TextDiagnosticPrinter.cpp