ASTConsumers.h (198092) | ASTConsumers.h (198954) |
---|---|
1//===--- ASTConsumers.h - ASTConsumer implementations -----------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 14 unchanged lines hidden (view full) --- 23 namespace sys { class Path; } 24} 25namespace clang { 26 27class ASTConsumer; 28class Diagnostic; 29class FileManager; 30class Preprocessor; | 1//===--- ASTConsumers.h - ASTConsumer implementations -----------*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 14 unchanged lines hidden (view full) --- 23 namespace sys { class Path; } 24} 25namespace clang { 26 27class ASTConsumer; 28class Diagnostic; 29class FileManager; 30class Preprocessor; |
31class PreprocessorFactory; | |
32class CompileOptions; 33class LangOptions; 34 35// AST pretty-printer: prints out the AST in a format that is close to the 36// original C code. The output is intended to be in a format such that 37// clang could re-parse the output back into the same AST, but the 38// implementation is still incomplete. 39ASTConsumer *CreateASTPrinter(llvm::raw_ostream *OS); --- 41 unchanged lines hidden (view full) --- 81ASTConsumer *CreateBackendConsumer(BackendAction Action, 82 Diagnostic &Diags, 83 const LangOptions &Features, 84 const CompileOptions &CompileOpts, 85 const std::string &ModuleID, 86 llvm::raw_ostream *OS, 87 llvm::LLVMContext& C); 88 | 31class CompileOptions; 32class LangOptions; 33 34// AST pretty-printer: prints out the AST in a format that is close to the 35// original C code. The output is intended to be in a format such that 36// clang could re-parse the output back into the same AST, but the 37// implementation is still incomplete. 38ASTConsumer *CreateASTPrinter(llvm::raw_ostream *OS); --- 41 unchanged lines hidden (view full) --- 80ASTConsumer *CreateBackendConsumer(BackendAction Action, 81 Diagnostic &Diags, 82 const LangOptions &Features, 83 const CompileOptions &CompileOpts, 84 const std::string &ModuleID, 85 llvm::raw_ostream *OS, 86 llvm::LLVMContext& C); 87 |
89// HTML printer: uses the rewriter to convert source code to HTML with 90// syntax highlighting suitable for viewing in a web-browser. 91ASTConsumer* CreateHTMLPrinter(llvm::raw_ostream *OS, Diagnostic &D, 92 Preprocessor *PP, PreprocessorFactory *PPF); | 88/// CreateHTMLPrinter - Create an AST consumer which rewrites source code to 89/// HTML with syntax highlighting suitable for viewing in a web-browser. 90ASTConsumer *CreateHTMLPrinter(llvm::raw_ostream *OS, Preprocessor &PP, 91 bool SyntaxHighlight = true, 92 bool HighlightMacros = true); |
93 94// PCH generator: generates a precompiled header file; this file can be 95// used later with the PCHReader (clang-cc option -include-pch) 96// to speed up compile times. 97ASTConsumer *CreatePCHGenerator(const Preprocessor &PP, 98 llvm::raw_ostream *OS, 99 const char *isysroot = 0); 100 --- 13 unchanged lines hidden --- | 93 94// PCH generator: generates a precompiled header file; this file can be 95// used later with the PCHReader (clang-cc option -include-pch) 96// to speed up compile times. 97ASTConsumer *CreatePCHGenerator(const Preprocessor &PP, 98 llvm::raw_ostream *OS, 99 const char *isysroot = 0); 100 --- 13 unchanged lines hidden --- |