[llvm-commits] CVS: llvm/lib/VMCore/AutoUpgrade.cpp

Reid Spencer reid at x10sys.com
Tue May 30 09:06:12 PDT 2006



Changes in directory llvm/lib/VMCore:

AutoUpgrade.cpp updated: 1.18 -> 1.19
---
Log message:

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. 


---
Diffs of the changes:  (+1 -1)

 AutoUpgrade.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/VMCore/AutoUpgrade.cpp
diff -u llvm/lib/VMCore/AutoUpgrade.cpp:1.18 llvm/lib/VMCore/AutoUpgrade.cpp:1.19
--- llvm/lib/VMCore/AutoUpgrade.cpp:1.18	Wed Apr 12 12:56:16 2006
+++ llvm/lib/VMCore/AutoUpgrade.cpp	Tue May 30 11:05:59 2006
@@ -193,7 +193,7 @@
   // 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;
   }






More information about the llvm-commits mailing list