From c02af8538b680775440f6ebfe647346d22d6ba48 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 30 May 2006 16:05:59 +0000 Subject: [PATCH] Write the WARNING message to cout instead of cerr. Writing to cerr causes Tcl to claim that the program had an error and thus produces errors in the dejagnu testing when its really just a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28556 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/AutoUpgrade.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/AutoUpgrade.cpp b/lib/VMCore/AutoUpgrade.cpp index 1529d1bf1f7..0afb5b9951c 100644 --- a/lib/VMCore/AutoUpgrade.cpp +++ b/lib/VMCore/AutoUpgrade.cpp @@ -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 " + std::cout << "WARNING: change " << F->getName() << " to " << R->getName() << "\n"; return R; } -- 2.34.1