Removed #include <iostream> and used the llvm_cerr/DOUT streams instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31922 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2006-11-26 09:17:06 +00:00
parent f525eb9056
commit 62c804a3ea
7 changed files with 34 additions and 44 deletions

View File

@ -16,8 +16,8 @@
#include "llvm/Function.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/SlowOperationInformer.h"
#include "llvm/Support/Streams.h"
#include "llvm/ADT/Statistic.h"
#include <iostream>
using namespace llvm;
namespace {
@ -30,7 +30,7 @@ namespace {
HelloCounter++;
std::string fname = F.getName();
EscapeString(fname);
std::cerr << "Hello: " << fname << "\n";
llvm_cerr << "Hello: " << fname << "\n";
return false;
}
};
@ -43,7 +43,7 @@ namespace {
HelloCounter++;
std::string fname = F.getName();
EscapeString(fname);
std::cerr << "Hello: " << fname << "\n";
llvm_cerr << "Hello: " << fname << "\n";
return false;
}