[llvm-commits] [llvm] r92016 - /llvm/trunk/include/llvm/Support/Casting.h

David Greene greened at obbligato.org
Wed Dec 23 10:25:38 PST 2009


Author: greened
Date: Wed Dec 23 12:25:37 2009
New Revision: 92016

URL: http://llvm.org/viewvc/llvm-project?rev=92016&view=rev
Log:

Convert debug messages to use dbgs().  Generally this means
s/errs/dbgs/g except for certain special cases.

Modified:
    llvm/trunk/include/llvm/Support/Casting.h

Modified: llvm/trunk/include/llvm/Support/Casting.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Casting.h?rev=92016&r1=92015&r2=92016&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/Casting.h (original)
+++ llvm/trunk/include/llvm/Support/Casting.h Wed Dec 23 12:25:37 2009
@@ -251,7 +251,7 @@
 };
 
 template <> inline bool isa_impl<foo,bar>(const bar &Val) {
-  errs() << "Classof: " << &Val << "\n";
+  dbgs() << "Classof: " << &Val << "\n";
   return true;
 }
 





More information about the llvm-commits mailing list