Skip to content

Commit

Permalink
Fix two typos in the doc
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160762 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
sylvestre committed Jul 25, 2012
1 parent 303c909 commit 7f7390e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/LangRef.html
Original file line number Diff line number Diff line change
Expand Up @@ -2780,7 +2780,7 @@ <h3>
make it fit in <tt>TYPE</tt>.</dd>

<dt><b><tt>inttoptr (CST to TYPE)</tt></b></dt>
<dd>Convert a integer constant to a pointer constant. TYPE must be a pointer
<dd>Convert an integer constant to a pointer constant. TYPE must be a pointer
type. CST must be of integer type. The CST value is zero extended,
truncated, or unchanged to make it fit in a pointer size. This one is
<i>really</i> dangerous!</dd>
Expand Down
2 changes: 1 addition & 1 deletion docs/Passes.html
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@ <h3>
<li>Verify that a function's argument list agrees with its declared
type.</li>
<li>It is illegal to specify a name for a void value.</li>
<li>It is illegal to have a internal global value with no initializer.</li>
<li>It is illegal to have an internal global value with no initializer.</li>
<li>It is illegal to have a ret instruction that returns a value that does
not agree with the function return value type.</li>
<li>Function call argument types match the function prototype.</li>
Expand Down

0 comments on commit 7f7390e

Please sign in to comment.