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
diff --git a/utils/TableGen/TableGenBackend.h b/utils/TableGen/TableGenBackend.h
index 109bc9f..9c2b948 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 @@
// 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;
};