diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-12-07 23:41:45 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-12-07 23:41:45 +0000 |
commit | 1a097e30d39e60303ae2b19f7a56e813f3e3c18e (patch) | |
tree | 79d479d86ba217cb4b76e88186fb8031254e5af6 | |
parent | f72d29c540bf32b9c0e8914484cbbdeac70ee12a (diff) |
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
-rw-r--r-- | include/llvm/Support/Streams.h | 2 | ||||
-rw-r--r-- | lib/Debugger/SourceLanguage-Unknown.cpp | 1 | ||||
-rw-r--r-- | lib/Linker/LinkModules.cpp | 1 | ||||
-rw-r--r-- | lib/Support/Allocator.cpp | 1 | ||||
-rw-r--r-- | lib/Support/CommandLine.cpp | 1 | ||||
-rw-r--r-- | lib/Support/PluginLoader.cpp | 1 | ||||
-rw-r--r-- | lib/Support/Statistic.cpp | 1 | ||||
-rw-r--r-- | lib/Support/SystemUtils.cpp | 1 | ||||
-rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 2 | ||||
-rw-r--r-- | lib/Target/CBackend/Writer.cpp | 2 | ||||
-rw-r--r-- | lib/Target/SubtargetFeature.cpp | 1 | ||||
-rw-r--r-- | lib/VMCore/Verifier.cpp | 1 |
12 files changed, 12 insertions, 3 deletions
diff --git a/include/llvm/Support/Streams.h b/include/llvm/Support/Streams.h index c4afc86baa..82ffeeb41b 100644 --- a/include/llvm/Support/Streams.h +++ b/include/llvm/Support/Streams.h @@ -15,7 +15,7 @@ #ifndef LLVM_SUPPORT_STREAMS_H #define LLVM_SUPPORT_STREAMS_H -#include <sstream> +#include <iosfwd> namespace llvm { diff --git a/lib/Debugger/SourceLanguage-Unknown.cpp b/lib/Debugger/SourceLanguage-Unknown.cpp index 276ae9fcaf..c5d912adc8 100644 --- a/lib/Debugger/SourceLanguage-Unknown.cpp +++ b/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/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index 71239f7439..8f8aec1abd 100644 --- a/lib/Linker/LinkModules.cpp +++ b/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/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, diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index 7c0d433676..3cfd6d0386 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.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/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index 7c0d433676..3cfd6d0386 100644 --- a/lib/Target/CBackend/Writer.cpp +++ b/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/lib/Target/SubtargetFeature.cpp b/lib/Target/SubtargetFeature.cpp index 80621232c9..4669e0fdc3 100644 --- a/lib/Target/SubtargetFeature.cpp +++ b/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/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index cf812a8fff..2b9bb6b18b 100644 --- a/lib/VMCore/Verifier.cpp +++ b/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; |