mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-03 11:24:18 +00:00
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
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user