summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-12-07 23:41:45 +0000
committerBill Wendling <isanbard@gmail.com>2006-12-07 23:41:45 +0000
commit30c0f3367c85da442008031aac69ea0f0e5c43ba (patch)
treecaf54b1bc7a8eee74da385a642ed498cf8135738 /llvm/lib/Support
parent4c36e6bee04c39a980d37f0eec8d9259e0a4b3d2 (diff)
downloadbcm5719-llvm-30c0f3367c85da442008031aac69ea0f0e5c43ba.tar.gz
bcm5719-llvm-30c0f3367c85da442008031aac69ea0f0e5c43ba.zip
Don't use <sstream> in Streams.h but <iosfwd> instead.
llvm-svn: 32340
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Allocator.cpp1
-rw-r--r--llvm/lib/Support/CommandLine.cpp1
-rw-r--r--llvm/lib/Support/PluginLoader.cpp1
-rw-r--r--llvm/lib/Support/Statistic.cpp1
-rw-r--r--llvm/lib/Support/SystemUtils.cpp1
5 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Support/Allocator.cpp b/llvm/lib/Support/Allocator.cpp
index 632b5f7a228..a31b80fcf35 100644
--- a/llvm/lib/Support/Allocator.cpp
+++ b/llvm/lib/Support/Allocator.cpp
@@ -14,6 +14,7 @@
#include "llvm/Support/Allocator.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/Streams.h"
+#include <ostream>
using namespace llvm;
//===----------------------------------------------------------------------===//
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index 920811a06c6..012f759d4f6 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/lib/Support/CommandLine.cpp
@@ -24,6 +24,7 @@
#include <algorithm>
#include <functional>
#include <map>
+#include <ostream>
#include <set>
#include <cstdlib>
#include <cerrno>
diff --git a/llvm/lib/Support/PluginLoader.cpp b/llvm/lib/Support/PluginLoader.cpp
index 97b253e4eb6..3c9de89a426 100644
--- a/llvm/lib/Support/PluginLoader.cpp
+++ b/llvm/lib/Support/PluginLoader.cpp
@@ -15,6 +15,7 @@
#include "llvm/Support/PluginLoader.h"
#include "llvm/Support/Streams.h"
#include "llvm/System/DynamicLibrary.h"
+#include <ostream>
#include <vector>
using namespace llvm;
diff --git a/llvm/lib/Support/Statistic.cpp b/llvm/lib/Support/Statistic.cpp
index 8c082712358..1b28eed49ab 100644
--- a/llvm/lib/Support/Statistic.cpp
+++ b/llvm/lib/Support/Statistic.cpp
@@ -26,6 +26,7 @@
#include "llvm/Support/Streams.h"
#include "llvm/ADT/StringExtras.h"
#include <algorithm>
+#include <ostream>
using namespace llvm;
// GetLibSupportInfoOutputFile - Return a file stream to print our output on...
diff --git a/llvm/lib/Support/SystemUtils.cpp b/llvm/lib/Support/SystemUtils.cpp
index 1d2c1086aea..30b9f8d43d5 100644
--- a/llvm/lib/Support/SystemUtils.cpp
+++ b/llvm/lib/Support/SystemUtils.cpp
@@ -16,6 +16,7 @@
#include "llvm/Support/SystemUtils.h"
#include "llvm/System/Process.h"
#include "llvm/System/Program.h"
+#include <ostream>
using namespace llvm;
bool llvm::CheckBytecodeOutputToConsole(std::ostream* stream_to_check,
OpenPOWER on IntegriCloud