diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-10-22 03:25:22 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-22 03:25:22 +0000 |
commit | 3b475e99db65dccb5b816af218f3335573e7f526 (patch) | |
tree | 07722427aee47227292daf03427c9d0f1b749281 /include | |
parent | ce0c31ad8f24e16bba6fb62d88b2567ebeaf2dfe (diff) | |
download | external_llvm-3b475e99db65dccb5b816af218f3335573e7f526.zip external_llvm-3b475e99db65dccb5b816af218f3335573e7f526.tar.gz external_llvm-3b475e99db65dccb5b816af218f3335573e7f526.tar.bz2 |
Move Print*Pass to use raw_ostream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Assembly/PrintModulePass.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Assembly/PrintModulePass.h b/include/llvm/Assembly/PrintModulePass.h index 7f5acf4..fb4f6a7 100644 --- a/include/llvm/Assembly/PrintModulePass.h +++ b/include/llvm/Assembly/PrintModulePass.h @@ -18,21 +18,21 @@ #ifndef LLVM_ASSEMBLY_PRINTMODULEPASS_H #define LLVM_ASSEMBLY_PRINTMODULEPASS_H -#include "llvm/Support/Streams.h" #include <string> namespace llvm { class FunctionPass; class ModulePass; + class raw_ostream; /// createPrintModulePass - Create and return a pass that writes the - /// module to the specified OStream. - ModulePass *createPrintModulePass(llvm::OStream *OS, bool DeleteStream=false); + /// module to the specified raw_ostream. + ModulePass *createPrintModulePass(raw_ostream *OS, bool DeleteStream=false); /// createPrintFunctionPass - Create and return a pass that prints - /// functions to the specified OStream as they are processed. + /// functions to the specified raw_ostream as they are processed. FunctionPass *createPrintFunctionPass(const std::string &Banner, - llvm::OStream *OS, + raw_ostream *OS, bool DeleteStream=false); } // End llvm namespace |