aboutsummaryrefslogtreecommitdiff
path: root/Driver/HTMLPrint.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-04-08 23:25:54 +0000
committerTed Kremenek <kremenek@apple.com>2008-04-08 23:25:54 +0000
commitf5749aa30bf39cc56f6fe98ce2e773e9338f5d04 (patch)
tree70546db9092f8fa1f4cc4fdc85f732465e0f5896 /Driver/HTMLPrint.cpp
parentfa5be3617294f0e3c341f0ecb6b2076478b1b5ac (diff)
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
Diffstat (limited to 'Driver/HTMLPrint.cpp')
-rw-r--r--Driver/HTMLPrint.cpp2
1 files changed, 1 insertions, 1 deletions
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);