[llvm-commits] [llvm] r77042 - /llvm/trunk/docs/ProgrammersManual.html
Daniel Dunbar
daniel at zuster.org
Fri Jul 24 18:55:32 PDT 2009
Author: ddunbar
Date: Fri Jul 24 20:55:32 2009
New Revision: 77042
URL: http://llvm.org/viewvc/llvm-project?rev=77042&view=rev
Log:
Rewrite examples to use DEBUG instead of DOUT.
Modified:
llvm/trunk/docs/ProgrammersManual.html
Modified: llvm/trunk/docs/ProgrammersManual.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ProgrammersManual.html?rev=77042&r1=77041&r2=77042&view=diff
==============================================================================
--- llvm/trunk/docs/ProgrammersManual.html (original)
+++ llvm/trunk/docs/ProgrammersManual.html Fri Jul 24 20:55:32 2009
@@ -448,7 +448,7 @@
<div class="doc_code">
<pre>
-DOUT << "I am here!\n";
+DEBUG(errs() << "I am here!\n");
</pre>
</div>
@@ -493,16 +493,16 @@
<div class="doc_code">
<pre>
-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");
</pre>
</div>
More information about the llvm-commits
mailing list