summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/AutoUpgrade.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-11-28 02:09:03 +0000
committerBill Wendling <isanbard@gmail.com>2006-11-28 02:09:03 +0000
commitdfc91897df7a9d6121479b44d17996a963b67c55 (patch)
treefad86e175bed52797947cf36f4feb417f2dc34cd /llvm/lib/VMCore/AutoUpgrade.cpp
parent3f6f0fd028dcc071294c1217f3a03edc8375d6a2 (diff)
downloadbcm5719-llvm-dfc91897df7a9d6121479b44d17996a963b67c55.tar.gz
bcm5719-llvm-dfc91897df7a9d6121479b44d17996a963b67c55.zip
Changed to using LLVM streams.
llvm-svn: 31955
Diffstat (limited to 'llvm/lib/VMCore/AutoUpgrade.cpp')
-rw-r--r--llvm/lib/VMCore/AutoUpgrade.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/AutoUpgrade.cpp b/llvm/lib/VMCore/AutoUpgrade.cpp
index 57a09e2d07f..9f7f818e7ff 100644
--- a/llvm/lib/VMCore/AutoUpgrade.cpp
+++ b/llvm/lib/VMCore/AutoUpgrade.cpp
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Assembly/AutoUpgrade.h"
+#include "llvm/Support/Streams.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Function.h"
@@ -19,7 +20,6 @@
#include "llvm/Instructions.h"
#include "llvm/Intrinsics.h"
#include "llvm/SymbolTable.h"
-#include <iostream>
using namespace llvm;
static Function *getUpgradedUnaryFn(Function *F) {
@@ -193,7 +193,7 @@ Function *llvm::UpgradeIntrinsicFunction(Function* F) {
// See if its one of the name's we're interested in.
if (Function *R = getUpgradedIntrinsic(F)) {
if (R->getName() != F->getName())
- std::cerr << "WARNING: change " << F->getName() << " to "
+ llvm_cerr << "WARNING: change " << F->getName() << " to "
<< R->getName() << "\n";
return R;
}
OpenPOWER on IntegriCloud