diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 01:55:32 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 01:55:32 +0000 |
commit | e32f9b293004d4396949d1ddb232fcf2c3f8d109 (patch) | |
tree | 7e0fc0be1e38e96d03db39063a4d19891951094e /docs/ProgrammersManual.html | |
parent | 0bdbfae85e3ffbc88045ea32e1f8a6b1f0c89f56 (diff) | |
download | external_llvm-e32f9b293004d4396949d1ddb232fcf2c3f8d109.zip external_llvm-e32f9b293004d4396949d1ddb232fcf2c3f8d109.tar.gz external_llvm-e32f9b293004d4396949d1ddb232fcf2c3f8d109.tar.bz2 |
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
Diffstat (limited to 'docs/ProgrammersManual.html')
-rw-r--r-- | docs/ProgrammersManual.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index bce592e..dba7213 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -448,7 +448,7 @@ tool) is run with the '<tt>-debug</tt>' command line argument:</p> <div class="doc_code"> <pre> -DOUT << "I am here!\n"; +DEBUG(errs() << "I am here!\n"); </pre> </div> @@ -493,16 +493,16 @@ option as follows:</p> <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> |