Convert debug messages to use dbgs(). Generally this means
authorDavid Greene <greened@obbligato.org>
Wed, 23 Dec 2009 18:25:37 +0000 (18:25 +0000)
committerDavid Greene <greened@obbligato.org>
Wed, 23 Dec 2009 18:25:37 +0000 (18:25 +0000)
s/errs/dbgs/g except for certain special cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92016 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Casting.h

index 35fb29ec6cb3bc60aa376c23c868f2ed47cba8e1..37a7c3b02d4fa82587bc944fa307961515cd09f8 100644 (file)
@@ -251,7 +251,7 @@ struct foo {
 };
 
 template <> inline bool isa_impl<foo,bar>(const bar &Val) {
-  errs() << "Classof: " << &Val << "\n";
+  dbgs() << "Classof: " << &Val << "\n";
   return true;
 }