diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-05-30 16:05:59 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-05-30 16:05:59 +0000 |
commit | b5c64fc3b6772f9ae8045d52e46d615bd2b5ff16 (patch) | |
tree | 676401f528342539811e2915f1b393ef4ba45ade /llvm/lib/VMCore/AutoUpgrade.cpp | |
parent | 413441b9c9dea8b9777cb52e4b9bc3cfee3ea9ea (diff) | |
download | bcm5719-llvm-b5c64fc3b6772f9ae8045d52e46d615bd2b5ff16.tar.gz bcm5719-llvm-b5c64fc3b6772f9ae8045d52e46d615bd2b5ff16.zip |
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.
llvm-svn: 28556
Diffstat (limited to 'llvm/lib/VMCore/AutoUpgrade.cpp')
-rw-r--r-- | llvm/lib/VMCore/AutoUpgrade.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/AutoUpgrade.cpp b/llvm/lib/VMCore/AutoUpgrade.cpp index 1529d1bf1f7..0afb5b9951c 100644 --- a/llvm/lib/VMCore/AutoUpgrade.cpp +++ b/llvm/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; } |