diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-06 06:00:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-06 06:00:13 +0000 |
commit | 897cc8e1ec9b93bf67116aefffbc7f03f4aef76f (patch) | |
tree | a8a23c3a659ebd241ddd2ee17f779a6efee2a30d /llvm/docs | |
parent | 19d1c03311cabd25bc2e91b5ac292b20c300d7ce (diff) | |
download | bcm5719-llvm-897cc8e1ec9b93bf67116aefffbc7f03f4aef76f.tar.gz bcm5719-llvm-897cc8e1ec9b93bf67116aefffbc7f03f4aef76f.zip |
cleanup some html
remove a statement that is no longer true
remove comment about a dead method.
llvm-svn: 20486
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/ProgrammersManual.html | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/llvm/docs/ProgrammersManual.html b/llvm/docs/ProgrammersManual.html index 70c4e3154f5..f335ddf8d02 100644 --- a/llvm/docs/ProgrammersManual.html +++ b/llvm/docs/ProgrammersManual.html @@ -574,18 +574,18 @@ easy to iterate over the individual instructions that make up <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 @@ will loop infinitely.</p> <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> |