From 1a097e30d39e60303ae2b19f7a56e813f3e3c18e Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 7 Dec 2006 23:41:45 +0000 Subject: [PATCH] Don't use in Streams.h but instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32340 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Streams.h | 2 +- lib/Debugger/SourceLanguage-Unknown.cpp | 1 + lib/Linker/LinkModules.cpp | 1 + lib/Support/Allocator.cpp | 1 + lib/Support/CommandLine.cpp | 1 + lib/Support/PluginLoader.cpp | 1 + lib/Support/Statistic.cpp | 1 + lib/Support/SystemUtils.cpp | 1 + lib/Target/CBackend/CBackend.cpp | 2 +- lib/Target/CBackend/Writer.cpp | 2 +- lib/Target/SubtargetFeature.cpp | 1 + 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 c4afc86baae..82ffeeb41bf 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 +#include namespace llvm { diff --git a/lib/Debugger/SourceLanguage-Unknown.cpp b/lib/Debugger/SourceLanguage-Unknown.cpp index 276ae9fcaf7..c5d912adc81 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 +#include using namespace llvm; //===----------------------------------------------------------------------===// diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index 71239f74392..8f8aec1abd9 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 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 632b5f7a228..a31b80fcf35 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 using namespace llvm; //===----------------------------------------------------------------------===// diff --git a/lib/Support/CommandLine.cpp b/lib/Support/CommandLine.cpp index 920811a06c6..012f759d4f6 100644 --- a/lib/Support/CommandLine.cpp +++ b/lib/Support/CommandLine.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/lib/Support/PluginLoader.cpp b/lib/Support/PluginLoader.cpp index 97b253e4eb6..3c9de89a426 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 #include using namespace llvm; diff --git a/lib/Support/Statistic.cpp b/lib/Support/Statistic.cpp index 8c082712358..1b28eed49ab 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 +#include 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 1d2c1086aea..30b9f8d43d5 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 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 7c0d433676d..3cfd6d0386a 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 -#include +#include using namespace llvm; namespace { diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index 7c0d433676d..3cfd6d0386a 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 -#include +#include using namespace llvm; namespace { diff --git a/lib/Target/SubtargetFeature.cpp b/lib/Target/SubtargetFeature.cpp index 80621232c9e..4669e0fdc3c 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 +#include #include #include using namespace llvm; diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index cf812a8fffe..2b9bb6b18b5 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 +#include #include using namespace llvm;