aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit1a097e30d39e60303ae2b19f7a56e813f3e3c18e (patch)
tree79d479d86ba217cb4b76e88186fb8031254e5af6 /lib/Support
parentf72d29c540bf32b9c0e8914484cbbdeac70ee12a (diff)
downloadexternal_llvm-1a097e30d39e60303ae2b19f7a56e813f3e3c18e.tar.gz
external_llvm-1a097e30d39e60303ae2b19f7a56e813f3e3c18e.tar.bz2
external_llvm-1a097e30d39e60303ae2b19f7a56e813f3e3c18e.zip
Don't use <sstream> in Streams.h but <iosfwd> instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32340 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/Allocator.cpp1
-rw-r--r--lib/Support/CommandLine.cpp1
-rw-r--r--lib/Support/PluginLoader.cpp1
-rw-r--r--lib/Support/Statistic.cpp1
-rw-r--r--lib/Support/SystemUtils.cpp1
5 files changed, 5 insertions, 0 deletions
diff --git a/lib/Support/Allocator.cpp b/lib/Support/Allocator.cpp
index 632b5f7a22..a31b80fcf3 100644
--- a/lib/Support/Allocator.cpp
+++ b/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/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp
index 920811a06c..012f759d4f 100644
--- a/lib/Support/CommandLine.cpp
+++ b/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/lib/Support/PluginLoader.cpp b/lib/Support/PluginLoader.cpp
index 97b253e4eb..3c9de89a42 100644
--- a/lib/Support/PluginLoader.cpp
+++ b/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/lib/Support/Statistic.cpp b/lib/Support/Statistic.cpp
index 8c08271235..1b28eed49a 100644
--- a/lib/Support/Statistic.cpp
+++ b/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/lib/Support/SystemUtils.cpp b/lib/Support/SystemUtils.cpp
index 1d2c1086ae..30b9f8d43d 100644
--- a/lib/Support/SystemUtils.cpp
+++ b/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,