summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Debugger/SourceLanguage-Unknown.cpp1
-rw-r--r--llvm/lib/Linker/LinkModules.cpp1
-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
-rw-r--r--llvm/lib/Target/CBackend/Writer.cpp2
-rw-r--r--llvm/lib/Target/SubtargetFeature.cpp1
-rw-r--r--llvm/lib/VMCore/Verifier.cpp1
10 files changed, 10 insertions, 1 deletions
diff --git a/llvm/lib/Debugger/SourceLanguage-Unknown.cpp b/llvm/lib/Debugger/SourceLanguage-Unknown.cpp
index 276ae9fcaf7..c5d912adc81 100644
--- a/llvm/lib/Debugger/SourceLanguage-Unknown.cpp
+++ b/llvm/lib/Debugger/SourceLanguage-Unknown.cpp
@@ -17,6 +17,7 @@
#include "llvm/Debugger/ProgramInfo.h"
#include "llvm/Support/Streams.h"
#include <cassert>
+#include <ostream>
using namespace llvm;
//===----------------------------------------------------------------------===//
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index 71239f74392..8f8aec1abd9 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/lib/Linker/LinkModules.cpp
@@ -25,6 +25,7 @@
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/Streams.h"
#include "llvm/System/Path.h"
+#include <sstream>
using namespace llvm;
// Error - Simple wrapper function to conditionally assign to E and return true.
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,
diff --git a/llvm/lib/Target/CBackend/Writer.cpp b/llvm/lib/Target/CBackend/Writer.cpp
index 7c0d433676d..3cfd6d0386a 100644
--- a/llvm/lib/Target/CBackend/Writer.cpp
+++ b/llvm/lib/Target/CBackend/Writer.cpp
@@ -42,7 +42,7 @@
#include "llvm/Support/MathExtras.h"
#include "llvm/Config/config.h"
#include <algorithm>
-#include <ios>
+#include <sstream>
using namespace llvm;
namespace {
diff --git a/llvm/lib/Target/SubtargetFeature.cpp b/llvm/lib/Target/SubtargetFeature.cpp
index 80621232c9e..4669e0fdc3c 100644
--- a/llvm/lib/Target/SubtargetFeature.cpp
+++ b/llvm/lib/Target/SubtargetFeature.cpp
@@ -15,6 +15,7 @@
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Streams.h"
#include <algorithm>
+#include <ostream>
#include <cassert>
#include <cctype>
using namespace llvm;
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp
index cf812a8fffe..2b9bb6b18b5 100644
--- a/llvm/lib/VMCore/Verifier.cpp
+++ b/llvm/lib/VMCore/Verifier.cpp
@@ -60,6 +60,7 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Compiler.h"
#include <algorithm>
+#include <sstream>
#include <cstdarg>
using namespace llvm;
OpenPOWER on IntegriCloud