From 38a22bffdc863f8680f17cb31874af3cf4ce67c2 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 3 Jul 2009 00:10:29 +0000 Subject: Replace std::iostreams with raw_ostream in TableGen. - Sorry, I can't help myself. - No intended functionality change. llvm-svn: 74742 --- llvm/utils/TableGen/TableGenBackend.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/utils/TableGen/TableGenBackend.h') 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 -#include 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; }; -- cgit v1.2.3