From d4db4fa359b3914ee9ff8ae27c09dc4f9c241a96 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 8 Apr 2008 23:25:54 +0000 Subject: For -emit-html, use the Rewriter to expand tabs. llvm-svn: 49409 --- clang/Driver/HTMLPrint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/Driver/HTMLPrint.cpp') diff --git a/clang/Driver/HTMLPrint.cpp b/clang/Driver/HTMLPrint.cpp index b30f1e80ef2..ef20395530c 100644 --- a/clang/Driver/HTMLPrint.cpp +++ b/clang/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); -- cgit v1.2.3