Removing even more <iostream> includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32320 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index 950c937..4fd3a4a 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -395,7 +395,7 @@
<div class="doc_code">
<pre>
-DEBUG(std::cerr << "I am here!\n");
+DOUT << "I am here!\n";
</pre>
</div>
@@ -440,16 +440,16 @@
<div class="doc_code">
<pre>
-DEBUG(std::cerr << "No debug type\n");
+DOUT << "No debug type\n";
#undef DEBUG_TYPE
#define DEBUG_TYPE "foo"
-DEBUG(std::cerr << "'foo' debug type\n");
+DOUT << "'foo' debug type\n";
#undef DEBUG_TYPE
#define DEBUG_TYPE "bar"
-DEBUG(std::cerr << "'bar' debug type\n");
+DOUT << "'bar' debug type\n";
#undef DEBUG_TYPE
#define DEBUG_TYPE ""
-DEBUG(std::cerr << "No debug type (2)\n");
+DOUT << "No debug type (2)\n";
</pre>
</div>
@@ -695,8 +695,8 @@
for (Function::iterator i = func->begin(), e = func->end(); i != e; ++i)
// <i>Print out the name of the basic block if it has one, and then the</i>
// <i>number of instructions that it contains</i>
- std::cerr << "Basic block (name=" << i->getName() << ") has "
- << i->size() << " instructions.\n";
+ llvm::cerr << "Basic block (name=" << i->getName() << ") has "
+ << i->size() << " instructions.\n";
</pre>
</div>
@@ -728,14 +728,14 @@
for (BasicBlock::iterator i = blk->begin(), e = blk->end(); i != e; ++i)
// <i>The next statement works since operator<<(ostream&,...)</i>
// <i>is overloaded for Instruction&</i>
- std::cerr << *i << "\n";
+ llvm::cerr << *i << "\n";
</pre>
</div>
<p>However, this isn't really the best way to print out the contents of a
<tt>BasicBlock</tt>! Since the ostream operators are overloaded for virtually
anything you'll care about, you could have just invoked the print routine on the
-basic block itself: <tt>std::cerr << *blk << "\n";</tt>.</p>
+basic block itself: <tt>llvm::cerr << *blk << "\n";</tt>.</p>
</div>
@@ -761,7 +761,7 @@
// <i>F is a ptr to a Function instance</i>
for (inst_iterator i = inst_begin(F), e = inst_end(F); i != e; ++i)
- std::cerr << *i << "\n";
+ llvm::cerr << *i << "\n";
</pre>
</div>
@@ -837,7 +837,7 @@
void printNextInstruction(Instruction* inst) {
BasicBlock::iterator it(inst);
++it; // <i>After this line, it refers to the instruction after *inst</i>
- if (it != inst->getParent()->end()) std::cerr << *it << "\n";
+ if (it != inst->getParent()->end()) llvm::cerr << *it << "\n";
}
</pre>
</div>
@@ -956,8 +956,8 @@
for (Value::use_iterator i = F->use_begin(), e = F->use_end(); i != e; ++i)
if (Instruction *Inst = dyn_cast<Instruction>(*i)) {
- std::cerr << "F is used in instruction:\n";
- std::cerr << *Inst << "\n";
+ llvm::cerr << "F is used in instruction:\n";
+ llvm::cerr << *Inst << "\n";
}
</pre>
</div>