diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-12-07 20:28:15 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-12-07 20:28:15 +0000 |
commit | 355fc5ad5008d57653e68dc248ac527e722c9b1e (patch) | |
tree | d2d4e1aedde1e1b04104716c4bab102641ee331a /llvm/lib/Support/SystemUtils.cpp | |
parent | 22e978a736cb34291c15de07e5b31d395d08dee5 (diff) | |
download | bcm5719-llvm-355fc5ad5008d57653e68dc248ac527e722c9b1e.tar.gz bcm5719-llvm-355fc5ad5008d57653e68dc248ac527e722c9b1e.zip |
Removed more <iostream> includes
llvm-svn: 32321
Diffstat (limited to 'llvm/lib/Support/SystemUtils.cpp')
-rw-r--r-- | llvm/lib/Support/SystemUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/SystemUtils.cpp b/llvm/lib/Support/SystemUtils.cpp index 124251165d6..1d2c1086aea 100644 --- a/llvm/lib/Support/SystemUtils.cpp +++ b/llvm/lib/Support/SystemUtils.cpp @@ -16,12 +16,12 @@ #include "llvm/Support/SystemUtils.h" #include "llvm/System/Process.h" #include "llvm/System/Program.h" -#include <iostream> using namespace llvm; bool llvm::CheckBytecodeOutputToConsole(std::ostream* stream_to_check, bool print_warning) { - if (stream_to_check == &std::cout && sys::Process::StandardOutIsDisplayed()) { + if (stream_to_check == cout.stream() && + sys::Process::StandardOutIsDisplayed()) { if (print_warning) { cerr << "WARNING: You're attempting to print out a bytecode file.\n" << "This is inadvisable as it may cause display problems. If\n" |