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 | bcd2498f4f1682dbdc41452add5b9bc72cbd6b3f (patch) | |
tree | c42cc25e701e45736f384bfced29bdbdf66a65a8 /lib/Support/SystemUtils.cpp | |
parent | 832171cb9724d2d31c8dfb73172e2be8f6dd13ee (diff) |
Removed more <iostream> includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/SystemUtils.cpp')
-rw-r--r-- | lib/Support/SystemUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/SystemUtils.cpp b/lib/Support/SystemUtils.cpp index 124251165d..1d2c1086ae 100644 --- a/lib/Support/SystemUtils.cpp +++ b/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" |