Replacing std::iostreams with llvm iostreams. Some of these changes involve
[oota-llvm.git] / include / llvm / Bytecode / Writer.h
index 8b89226fa5d3df88bf9a0bfce9182809ea4f1846..374e5df482c96c0107a3f3e34ffab2478936815c 100644 (file)
 #ifndef LLVM_BYTECODE_WRITER_H
 #define LLVM_BYTECODE_WRITER_H
 
-#include <iosfwd>
-
 namespace llvm {
+  class llvm_ostream;
   class Module;
   /// WriteBytecodeToFile - Write the specified module to the specified output
   /// stream.  If compress is set to true, try to use compression when writing
   /// out the file.  This can never fail if M is a well-formed module.
-  void WriteBytecodeToFile(const Module *M, std::ostream &Out,
+  void WriteBytecodeToFile(const Module *M, llvm_ostream &Out,
                            bool compress = true);
 } // End llvm namespace