Fix typos noticed by Gabor Greif, thanks Gabor!
authorChris Lattner <sabre@nondot.org>
Mon, 17 Jan 2005 00:12:04 +0000 (00:12 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 17 Jan 2005 00:12:04 +0000 (00:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19621 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ProgrammersManual.html

index 714f3c484452d62cd03a5a31761434050ce3456b..6fc0ec211256f2799e2d2f05f680a99f1ac0ee3f 100644 (file)
@@ -904,7 +904,7 @@ and <tt>ReplaceInstWithInst</tt>.</p>
     <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-&gt;getParent()-&gt;getInstList(), ii,<br>                     Constant::getNullValue(PointerType::get(Type::IntTy)));<br></pre></li>
@@ -1092,9 +1092,9 @@ convenient form for direct access.</p></li>
 
   <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 @@ ConstantArray etc for representing the various types of Constants.</p>
   <li>ConstantArray : This represents a constant array.
     <ul>
       <li><tt>const std::vector&lt;Use&gt; &amp;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&lt;Use&gt; &amp;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 @@ types.</p>
 <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>