diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-17 00:12:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-17 00:12:04 +0000 |
commit | 583608228613fb11bb07180b8c6658f61959d6ca (patch) | |
tree | 6fdfb3f87e041415b02ddfa58cd91a9ff860ffdd /docs/ProgrammersManual.html | |
parent | 4df0de975af18423299020f13d56d939839ad326 (diff) |
Fix typos noticed by Gabor Greif, thanks Gabor!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ProgrammersManual.html')
-rw-r--r-- | docs/ProgrammersManual.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 714f3c4844..6fc0ec2112 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -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->getParent()->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<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 @@ 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> |