diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-04-20 01:02:33 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-04-20 01:02:33 +0000 |
commit | 7414dc05738bd0eb8ecb07f81d430d4b087c20ce (patch) | |
tree | a4b44d7abece69603d5cc69ae6cdcd8d2ca0b1eb /Driver/HTMLDiagnostics.cpp | |
parent | 25ddea7f7835c4b1804e458a5c866cde0097430a (diff) |
html::EscapeText (using the Rewriter) now replaces tabs by default.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/HTMLDiagnostics.cpp')
-rw-r--r-- | Driver/HTMLDiagnostics.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Driver/HTMLDiagnostics.cpp b/Driver/HTMLDiagnostics.cpp index dbc156780f..2f1b6e3676 100644 --- a/Driver/HTMLDiagnostics.cpp +++ b/Driver/HTMLDiagnostics.cpp @@ -224,13 +224,8 @@ void HTMLDiagnostics::HandlePathDiagnostic(const PathDiagnostic& D) { // Emit the HTML to disk. - for (RewriteBuffer::iterator I = Buf->begin(), E = Buf->end(); I!=E; ++I) { - // Expand tabs. - if (*I == '\t') - os << " "; - else + for (RewriteBuffer::iterator I = Buf->begin(), E = Buf->end(); I!=E; ++I) os << *I; - } } void HTMLDiagnostics::HandlePiece(Rewriter& R, |