diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-24 04:11:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-24 04:11:30 +0000 |
commit | 0fa0daafdfc631681cc42a26a99618e9f9e63f97 (patch) | |
tree | e4e32d86a16653b561643be1fd8394b9363efa78 | |
parent | d57a7ef9252964bc6c8471451d7bd395b0520cb8 (diff) |
prune #includes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79889 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Frontend/ASTConsumers.h | 11 | ||||
-rw-r--r-- | lib/Frontend/HTMLPrint.cpp | 2 | ||||
-rw-r--r-- | tools/clang-cc/clang-cc.cpp | 1 |
3 files changed, 7 insertions, 7 deletions
diff --git a/include/clang/Frontend/ASTConsumers.h b/include/clang/Frontend/ASTConsumers.h index 87c85e067f..d3d43c2588 100644 --- a/include/clang/Frontend/ASTConsumers.h +++ b/include/clang/Frontend/ASTConsumers.h @@ -14,11 +14,10 @@ #ifndef DRIVER_ASTCONSUMERS_H #define DRIVER_ASTCONSUMERS_H -#include "llvm/Support/raw_ostream.h" #include <string> -#include <iosfwd> namespace llvm { + class raw_ostream; class Module; class LLVMContext; namespace sys { class Path; } @@ -37,13 +36,13 @@ class LangOptions; // original C code. The output is intended to be in a format such that // clang could re-parse the output back into the same AST, but the // implementation is still incomplete. -ASTConsumer *CreateASTPrinter(llvm::raw_ostream* OS); +ASTConsumer *CreateASTPrinter(llvm::raw_ostream *OS); // AST XML-printer: prints out the AST in a XML format // The output is intended to be in a format such that // clang or any other tool could re-parse the output back into the same AST, // but the implementation is still incomplete. -ASTConsumer *CreateASTPrinterXML(llvm::raw_ostream* OS); +ASTConsumer *CreateASTPrinterXML(llvm::raw_ostream *OS); // AST dumper: dumps the raw AST in human-readable form to stderr; this is // intended for debugging. @@ -60,8 +59,8 @@ ASTConsumer *CreateDeclContextPrinter(); // ObjC rewriter: attempts tp rewrite ObjC constructs into pure C code. // This is considered experimental, and only works with Apple's ObjC runtime. -ASTConsumer *CreateObjCRewriter(const std::string& InFile, - llvm::raw_ostream* OS, +ASTConsumer *CreateObjCRewriter(const std::string &InFile, + llvm::raw_ostream *OS, Diagnostic &Diags, const LangOptions &LOpts, bool SilenceRewriteMacroWarning); diff --git a/lib/Frontend/HTMLPrint.cpp b/lib/Frontend/HTMLPrint.cpp index d5eb9fb531..f434bcc0c7 100644 --- a/lib/Frontend/HTMLPrint.cpp +++ b/lib/Frontend/HTMLPrint.cpp @@ -21,7 +21,7 @@ #include "clang/Basic/FileManager.h" #include "clang/AST/ASTContext.h" #include "llvm/Support/MemoryBuffer.h" - +#include "llvm/Support/raw_ostream.h" using namespace clang; //===----------------------------------------------------------------------===// diff --git a/tools/clang-cc/clang-cc.cpp b/tools/clang-cc/clang-cc.cpp index a3cc921dd2..86fcb95c48 100644 --- a/tools/clang-cc/clang-cc.cpp +++ b/tools/clang-cc/clang-cc.cpp @@ -64,6 +64,7 @@ #include "llvm/Support/PluginLoader.h" #include "llvm/Support/PrettyStackTrace.h" #include "llvm/Support/Timer.h" +#include "llvm/Support/raw_ostream.h" #include "llvm/System/Host.h" #include "llvm/System/Path.h" #include "llvm/System/Process.h" |