summaryrefslogtreecommitdiff
path: root/utils/TableGen/TableGenBackend.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-03 00:10:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-03 00:10:29 +0000
commit1a55180238dbcf11113f610aea010447e51f595b (patch)
treeb9769936054af70053271573496a228e18629946 /utils/TableGen/TableGenBackend.h
parent78236f8c8a0e6bd966afd7e461599336956f7772 (diff)
downloadllvm-1a55180238dbcf11113f610aea010447e51f595b.tar.gz
llvm-1a55180238dbcf11113f610aea010447e51f595b.tar.bz2
llvm-1a55180238dbcf11113f610aea010447e51f595b.tar.xz
Replace std::iostreams with raw_ostream in TableGen.
- Sorry, I can't help myself. - No intended functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74742 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TableGenBackend.h')
-rw-r--r--utils/TableGen/TableGenBackend.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/TableGen/TableGenBackend.h b/utils/TableGen/TableGenBackend.h
index 109bc9f9ae..9c2b948b0d 100644
--- a/utils/TableGen/TableGenBackend.h
+++ b/utils/TableGen/TableGenBackend.h
@@ -15,8 +15,8 @@
#ifndef TABLEGENBACKEND_H
#define TABLEGENBACKEND_H
+#include "llvm/Support/raw_ostream.h"
#include <string>
-#include <iosfwd>
namespace llvm {
@@ -28,13 +28,13 @@ struct TableGenBackend {
// run - All TableGen backends should implement the run method, which should
// be the main entry point.
- virtual void run(std::ostream &OS) = 0;
+ virtual void run(raw_ostream &OS) = 0;
public: // Useful helper routines...
/// EmitSourceFileHeader - Output a LLVM style file header to the specified
/// ostream.
- void EmitSourceFileHeader(const std::string &Desc, std::ostream &OS) const;
+ void EmitSourceFileHeader(const std::string &Desc, raw_ostream &OS) const;
};