Removed more <iostream> includes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2006-12-07 20:28:15 +00:00
parent 832171cb97
commit bcd2498f4f
18 changed files with 61 additions and 78 deletions

View File

@ -23,9 +23,8 @@
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Streams.h"
#include "llvm/ADT/StringExtras.h"
#include <sstream>
#include <iostream>
#include <algorithm>
using namespace llvm;
@ -100,7 +99,7 @@ Statistic::~Statistic() {
// Free all accumulated statistics...
delete AccumStats;
AccumStats = 0;
if (OutStream != &std::cerr && OutStream != &std::cout)
if (OutStream != cerr.stream() && OutStream != cout.stream())
delete OutStream; // Close the file...
}
}