14 #ifndef LLVM_CLANG_REWRITE_FRONTEND_ASTCONSUMERS_H
15 #define LLVM_CLANG_REWRITE_FRONTEND_ASTCONSUMERS_H
24 class DiagnosticsEngine;
30 std::unique_ptr<ASTConsumer>
32 DiagnosticsEngine &Diags,
const LangOptions &LOpts,
33 bool SilenceRewriteMacroWarning);
34 std::unique_ptr<ASTConsumer>
36 DiagnosticsEngine &Diags,
const LangOptions &LOpts,
37 bool SilenceRewriteMacroWarning,
bool LineInfo);
std::unique_ptr< ASTConsumer > CreateModernObjCRewriter(const std::string &InFile, raw_ostream *OS, DiagnosticsEngine &Diags, const LangOptions &LOpts, bool SilenceRewriteMacroWarning, bool LineInfo)
void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP)
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP)
std::unique_ptr< ASTConsumer > CreateObjCRewriter(const std::string &InFile, raw_ostream *OS, DiagnosticsEngine &Diags, const LangOptions &LOpts, bool SilenceRewriteMacroWarning)
std::unique_ptr< ASTConsumer > CreateHTMLPrinter(raw_ostream *OS, Preprocessor &PP, bool SyntaxHighlight=true, bool HighlightMacros=true)