diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2009-10-14 18:03:49 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2009-10-14 18:03:49 +0000 |
commit | 9092c3e0fa01f3139b016d05d267a89e3b07747a (patch) | |
tree | 137ebebcae16fb0ce7ab4af456992bbd8d22fced /lib/Frontend/HTMLPrint.cpp | |
parent | 4981926bf654fe5a2c3893f24ca44106b217e71e (diff) | |
download | FreeBSD-src-9092c3e0fa01f3139b016d05d267a89e3b07747a.zip FreeBSD-src-9092c3e0fa01f3139b016d05d267a89e3b07747a.tar.gz |
Update clang to r84119.
Diffstat (limited to 'lib/Frontend/HTMLPrint.cpp')
-rw-r--r-- | lib/Frontend/HTMLPrint.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Frontend/HTMLPrint.cpp b/lib/Frontend/HTMLPrint.cpp index d5eb9fb..8d93d70 100644 --- a/lib/Frontend/HTMLPrint.cpp +++ b/lib/Frontend/HTMLPrint.cpp @@ -21,12 +21,12 @@ #include "clang/Basic/FileManager.h" #include "clang/AST/ASTContext.h" #include "llvm/Support/MemoryBuffer.h" - +#include "llvm/Support/raw_ostream.h" using namespace clang; //===----------------------------------------------------------------------===// // Functional HTML pretty-printing. -//===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// namespace { class HTMLPrinter : public ASTConsumer { @@ -40,7 +40,7 @@ namespace { PreprocessorFactory* ppf) : Out(OS), Diags(D), PP(pp), PPF(ppf) {} virtual ~HTMLPrinter(); - + void Initialize(ASTContext &context); }; } @@ -48,7 +48,7 @@ namespace { ASTConsumer* clang::CreateHTMLPrinter(llvm::raw_ostream *OS, Diagnostic &D, Preprocessor *PP, PreprocessorFactory* PPF) { - + return new HTMLPrinter(OS, D, PP, PPF); } @@ -78,7 +78,7 @@ HTMLPrinter::~HTMLPrinter() { // If we have a preprocessor, relex the file and syntax highlight. // We might not have a preprocessor if we come from a deserialized AST file, // for example. - + if (PP) html::SyntaxHighlight(R, FID, *PP); if (PPF) html::HighlightMacros(R, FID, *PP); html::EscapeText(R, FID, false, true); |