Fix two typos in the doc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sylvestre Ledru 2012-07-25 22:01:31 +00:00
parent 303c909d5b
commit 7f7390e035
2 changed files with 2 additions and 2 deletions

View File

@ -2780,7 +2780,7 @@ second_end:
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>

View File

@ -1970,7 +1970,7 @@ if (X &lt; 3) {</pre>
<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>