mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Kill off more cerr/cout uses and prune includes a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
#include "llvm/Support/Streams.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
using namespace llvm;
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace {
|
||||
HelloCounter++;
|
||||
std::string fname = F.getName();
|
||||
EscapeString(fname);
|
||||
cerr << "Hello: " << fname << "\n";
|
||||
errs() << "Hello: " << fname << "\n";
|
||||
return false;
|
||||
}
|
||||
};
|
||||
@@ -51,7 +51,7 @@ namespace {
|
||||
HelloCounter++;
|
||||
std::string fname = F.getName();
|
||||
EscapeString(fname);
|
||||
cerr << "Hello: " << fname << "\n";
|
||||
errs() << "Hello: " << fname << "\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user