[cfe-commits] r49409 - /cfe/trunk/Driver/HTMLPrint.cpp

Ted Kremenek kremenek at apple.com
Tue Apr 8 16:25:54 PDT 2008


Author: kremenek
Date: Tue Apr  8 18:25:54 2008
New Revision: 49409

URL: http://llvm.org/viewvc/llvm-project?rev=49409&view=rev
Log:
For -emit-html, use the Rewriter to expand tabs.

Modified:
    cfe/trunk/Driver/HTMLPrint.cpp

Modified: cfe/trunk/Driver/HTMLPrint.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/HTMLPrint.cpp?rev=49409&r1=49408&r2=49409&view=diff

==============================================================================
--- cfe/trunk/Driver/HTMLPrint.cpp (original)
+++ cfe/trunk/Driver/HTMLPrint.cpp Tue Apr  8 18:25:54 2008
@@ -49,7 +49,7 @@
 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);
   





More information about the cfe-commits mailing list