From 966da4acc3455f36d89969b3687a44e9b3bc555c Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 19 Mar 2008 06:14:37 +0000 Subject: Moved generation of html header/footer with builtin CSS to the rewriter library. llvm-svn: 48537 --- clang/Driver/HTMLPrint.cpp | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'clang/Driver/HTMLPrint.cpp') diff --git a/clang/Driver/HTMLPrint.cpp b/clang/Driver/HTMLPrint.cpp index 93e544fc966..a513bf975dd 100644 --- a/clang/Driver/HTMLPrint.cpp +++ b/clang/Driver/HTMLPrint.cpp @@ -50,39 +50,7 @@ HTMLPrinter::~HTMLPrinter() { html::EscapeText(R, FileID); html::AddLineNumbers(R, FileID); - - // Generate header - - { - std::ostringstream os; - - os << "\n\n" - << " \n" - << "\n" - << ""; - - R.InsertStrBefore(StartLoc, os.str()); - } - - // Generate footer - - { - std::ostringstream os; - - os << "\n"; - R.InsertStrAfter(EndLoc, os.str()); - } - + html::AddHeaderFooterInternalBuiltinCSS(R, FileID); // Emit the HTML. -- cgit v1.2.3