diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 07:49:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 07:49:08 +0000 |
commit | b515d75856f58a8b3b71d782eb00916d686329ad (patch) | |
tree | f44504088f40b4ba59e2583c25ea523e8c15ae82 /include | |
parent | a81d29b3916c2eb87a17f800f3759ce21a4a96fd (diff) | |
download | external_llvm-b515d75856f58a8b3b71d782eb00916d686329ad.zip external_llvm-b515d75856f58a8b3b71d782eb00916d686329ad.tar.gz external_llvm-b515d75856f58a8b3b71d782eb00916d686329ad.tar.bz2 |
eliminate the std::ostream forms of the bitcode writing APIs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Bitcode/ReaderWriter.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Bitcode/ReaderWriter.h b/include/llvm/Bitcode/ReaderWriter.h index 3d33d75..ef32239 100644 --- a/include/llvm/Bitcode/ReaderWriter.h +++ b/include/llvm/Bitcode/ReaderWriter.h @@ -14,7 +14,6 @@ #ifndef LLVM_BITCODE_H #define LLVM_BITCODE_H -#include <iosfwd> #include <string> namespace llvm { @@ -41,10 +40,6 @@ namespace llvm { Module *ParseBitcodeFile(MemoryBuffer *Buffer, LLVMContext& Context, std::string *ErrMsg = 0); - /// WriteBitcodeToFile - Write the specified module to the specified output - /// stream. - void WriteBitcodeToFile(const Module *M, std::ostream &Out); - /// WriteBitcodeToFile - Write the specified module to the specified /// raw output stream. void WriteBitcodeToFile(const Module *M, raw_ostream &Out); @@ -53,10 +48,6 @@ namespace llvm { /// raw output stream. void WriteBitcodeToStream(const Module *M, BitstreamWriter &Stream); - /// CreateBitcodeWriterPass - Create and return a pass that writes the module - /// to the specified ostream. - ModulePass *CreateBitcodeWriterPass(std::ostream &Str); - /// createBitcodeWriterPass - Create and return a pass that writes the module /// to the specified ostream. ModulePass *createBitcodeWriterPass(raw_ostream &Str); |