summaryrefslogtreecommitdiff
path: root/include/llvm/Assembly/PrintModulePass.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Assembly/PrintModulePass.h')
-rw-r--r--include/llvm/Assembly/PrintModulePass.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/Assembly/PrintModulePass.h b/include/llvm/Assembly/PrintModulePass.h
index 7f5acf418b..fb4f6a7e13 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