Add a mode of hackily syntax highlighting comments. This has a number of
problems, including the fact that it doesn't work well with multi-line
comments due to Ted's crazy table. However, that could be fixed, and it
does work with single-line ones :).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49778 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/ASTConsumers.h b/Driver/ASTConsumers.h
index 91ee8fb..6054fdf 100644
--- a/Driver/ASTConsumers.h
+++ b/Driver/ASTConsumers.h
@@ -27,6 +27,7 @@
class Diagnostic;
class FileManager;
struct LangOptions;
+class Preprocessor;
ASTConsumer *CreateASTPrinter(std::ostream* OS = NULL);
@@ -57,7 +58,8 @@
Diagnostic &Diags,
const LangOptions &LOpts);
- ASTConsumer* CreateHTMLPrinter(const std::string &OutFile, Diagnostic &D);
+ASTConsumer* CreateHTMLPrinter(const std::string &OutFile, Diagnostic &D,
+ Preprocessor *PP);
ASTConsumer *CreateSerializationTest(Diagnostic &Diags,
FileManager& FMgr,