From: Daniel Dunbar
Date: Sat, 25 Jul 2009 01:55:32 +0000 (+0000)
Subject: Rewrite examples to use DEBUG instead of DOUT.
X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=06388ae52d71433e6ed0f7388e2131e5b72405e3
Rewrite examples to use DEBUG instead of DOUT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77042 91177308-0d34-0410-b5e6-96231b3b80d8
---
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index bce592e9529..dba72136970 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -448,7 +448,7 @@ tool) is run with the '-debug' command line argument:
-DOUT << "I am here!\n";
+DEBUG(errs() << "I am here!\n");
@@ -493,16 +493,16 @@ option as follows:
-DOUT << "No debug type\n";
#undef DEBUG_TYPE
+DEBUG(errs() << "No debug type\n");
#define DEBUG_TYPE "foo"
-DOUT << "'foo' debug type\n";
+DEBUG(errs() << "'foo' debug type\n");
#undef DEBUG_TYPE
#define DEBUG_TYPE "bar"
-DOUT << "'bar' debug type\n";
+DEBUG(errs() << "'bar' debug type\n"));
#undef DEBUG_TYPE
#define DEBUG_TYPE ""
-DOUT << "No debug type (2)\n";
+DEBUG(errs() << "No debug type (2)\n");