From 3b475e99db65dccb5b816af218f3335573e7f526 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 22 Oct 2008 03:25:22 +0000 Subject: Move Print*Pass to use raw_ostream. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57946 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Assembly/PrintModulePass.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/llvm/Assembly') 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 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 -- cgit v1.1