[llvm-commits] CVS: llvm/docs/ProgrammersManual.html
Chris Lattner
lattner at cs.uiuc.edu
Sat Mar 5 22:00:28 PST 2005
Changes in directory llvm/docs:
ProgrammersManual.html updated: 1.76 -> 1.77
---
Log message:
cleanup some html
remove a statement that is no longer true
remove comment about a dead method.
---
Diffs of the changes: (+9 -12)
ProgrammersManual.html | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
Index: llvm/docs/ProgrammersManual.html
diff -u llvm/docs/ProgrammersManual.html:1.76 llvm/docs/ProgrammersManual.html:1.77
--- llvm/docs/ProgrammersManual.html:1.76 Sat Mar 5 20:37:21 2005
+++ llvm/docs/ProgrammersManual.html Sun Mar 6 00:00:13 2005
@@ -574,18 +574,18 @@
<tt>BasicBlock</tt>s. Here's a code snippet that prints out each instruction in
a <tt>BasicBlock</tt>:</p>
- <pre> // blk is a pointer to a BasicBlock instance<br> for (BasicBlock::iterator i = blk->begin(), e = blk->end(); i != e; ++i)<br> // the next statement works since operator<<(ostream&,...) <br> // is overloaded for Instruction&<br> cerr << *i << "\n";<br></pre>
+<pre>
+ // blk is a pointer to a BasicBlock instance
+ for (BasicBlock::iterator i = blk->begin(), e = blk->end(); i != e; ++i)
+ // the next statement works since operator<<(ostream&,...)
+ // is overloaded for Instruction&
+ std::cerr << *i << "\n";
+</pre>
<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>cerr << *blk << "\n";</tt>.</p>
-
-<p>Note that currently operator<< is implemented for <tt>Value*</tt>, so
-it will print out the contents of the pointer, instead of the pointer value you
-might expect. This is a deprecated interface that will be removed in the
-future, so it's best not to depend on it. To print out the pointer value for
-now, you must cast to <tt>void*</tt>.</p>
+basic block itself: <tt>std::cerr << *blk << "\n";</tt>.</p>
</div>
@@ -2035,9 +2035,6 @@
<dd>This method returns a plane_iterator for iteration over the
type planes starting at a specific plane, given by \p Ty.</dd>
- <dt><tt>const ValueMap* findPlane( const Type* Typ ) cons</tt>:</dt>
- <dd>This method returns a ValueMap* for a specific type plane. This
- interface is deprecated and may go away in the future.</dd>
</dl>
</div>
@@ -2052,7 +2049,7 @@
<a href="mailto:dhurjati at cs.uiuc.edu">Dinakar Dhurjati</a> and
<a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
<a href="http://llvm.cs.uiuc.edu">The LLVM Compiler Infrastructure</a><br>
- Last modified: $Date: 2005/03/06 02:37:21 $
+ Last modified: $Date: 2005/03/06 06:00:13 $
</address>
</body>
More information about the llvm-commits
mailing list