diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-03 00:10:29 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-03 00:10:29 +0000 |
commit | 38a22bffdc863f8680f17cb31874af3cf4ce67c2 (patch) | |
tree | 7c23168efc503cc591d314db12894a8c213cf8da /llvm/utils/TableGen/TableGenBackend.h | |
parent | f30ee8820a9dc7dcdb28928af1adfb993b83dd1a (diff) | |
download | bcm5719-llvm-38a22bffdc863f8680f17cb31874af3cf4ce67c2.tar.gz bcm5719-llvm-38a22bffdc863f8680f17cb31874af3cf4ce67c2.zip |
Replace std::iostreams with raw_ostream in TableGen.
- Sorry, I can't help myself.
- No intended functionality change.
llvm-svn: 74742
Diffstat (limited to 'llvm/utils/TableGen/TableGenBackend.h')
-rw-r--r-- | llvm/utils/TableGen/TableGenBackend.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/TableGenBackend.h b/llvm/utils/TableGen/TableGenBackend.h index 109bc9f9ae8..9c2b948b0df 100644 --- a/llvm/utils/TableGen/TableGenBackend.h +++ b/llvm/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; }; |