From: Ted Kremenek Date: Tue, 8 Apr 2008 23:25:54 +0000 (+0000) Subject: For -emit-html, use the Rewriter to expand tabs. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5749aa30bf39cc56f6fe98ce2e773e9338f5d04;p=clang For -emit-html, use the Rewriter to expand tabs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49409 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/HTMLPrint.cpp b/Driver/HTMLPrint.cpp index b30f1e80ef..ef20395530 100644 --- a/Driver/HTMLPrint.cpp +++ b/Driver/HTMLPrint.cpp @@ -49,7 +49,7 @@ void HTMLPrinter::Initialize(ASTContext &context) { HTMLPrinter::~HTMLPrinter() { unsigned FileID = R.getSourceMgr().getMainFileID(); - html::EscapeText(R, FileID); + html::EscapeText(R, FileID, false, true); html::AddLineNumbers(R, FileID); html::AddHeaderFooterInternalBuiltinCSS(R, FileID);