[llvm-commits] CVS: llvm/docs/ProgrammersManual.html
Chris Lattner
lattner at cs.uiuc.edu
Sun Jan 16 16:12:17 PST 2005
Changes in directory llvm/docs:
ProgrammersManual.html updated: 1.74 -> 1.75
---
Log message:
Fix typos noticed by Gabor Greif, thanks Gabor!
---
Diffs of the changes: (+8 -8)
Index: llvm/docs/ProgrammersManual.html
diff -u llvm/docs/ProgrammersManual.html:1.74 llvm/docs/ProgrammersManual.html:1.75
--- llvm/docs/ProgrammersManual.html:1.74 Wed Dec 8 13:05:44 2004
+++ llvm/docs/ProgrammersManual.html Sun Jan 16 18:12:04 2005
@@ -904,7 +904,7 @@
<p>This function replaces all uses (within a basic block) of a given
instruction with a value, and then removes the original instruction. The
following example illustrates the replacement of the result of a particular
- <tt>AllocaInst</tt> that allocates memory for a single integer with an null
+ <tt>AllocaInst</tt> that allocates memory for a single integer with a null
pointer to an integer.</p>
<pre>AllocaInst* instToReplace = ...;<br>BasicBlock::iterator ii(instToReplace);<br>ReplaceInstWithValue(instToReplace->getParent()->getInstList(), ii,<br> Constant::getNullValue(PointerType::get(Type::IntTy)));<br></pre></li>
@@ -1092,9 +1092,9 @@
<li><tt>User::op_iterator</tt> - Typedef for iterator over the operand
list<br>
- <tt>User::op_const_iterator</tt> <tt>use_iterator op_begin()</tt> -
-Get an iterator to the start of the operand list.<br>
- <tt>use_iterator op_end()</tt> - Get an iterator to the end of the
+ <tt>op_iterator op_begin()</tt> - Get an iterator to the start of
+the operand list.<br>
+ <tt>op_iterator op_end()</tt> - Get an iterator to the end of the
operand list.
<p> Together, these methods make up the iterator based interface to
the operands of a <tt>User</tt>.</p></li>
@@ -1710,13 +1710,13 @@
<li>ConstantArray : This represents a constant array.
<ul>
<li><tt>const std::vector<Use> &getValues() const</tt>: Returns
- a Vecotr of component constants that makeup this array. </li>
+ a vector of component constants that makeup this array. </li>
</ul>
</li>
<li>ConstantStruct : This represents a constant struct.
<ul>
<li><tt>const std::vector<Use> &getValues() const</tt>: Returns
- a Vector of component constants that makeup this array. </li>
+ a vector of component constants that makeup this array. </li>
</ul>
</li>
<li>GlobalValue : This represents either a global variable or a function. In
@@ -1819,7 +1819,7 @@
<div class="doc_text">
<p>This subclass of Value defines the interface for incoming formal
-arguments to a function. A Function maitanis a list of its formal
+arguments to a function. A Function maintains a list of its formal
arguments. An argument has a pointer to the parent Function.</p>
</div>
@@ -2060,7 +2060,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: 2004/12/08 19:05:44 $
+ Last modified: $Date: 2005/01/17 00:12:04 $
</address>
</body>
More information about the llvm-commits
mailing list