summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2012-07-25 22:01:31 +0000
committerSylvestre Ledru <sylvestre@debian.org>2012-07-25 22:01:31 +0000
commit7f7390e035c20ec2dcbf122330bd76c18b98049b (patch)
treeab492fc87aac02dc4211a793101fc3a195056974 /docs
parent303c909d5bb014fbeec395090eb467d724969195 (diff)
Fix two typos in the doc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160762 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html2
-rw-r--r--docs/Passes.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 04c1bf8b32f..4d0539241f7 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -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>
diff --git a/docs/Passes.html b/docs/Passes.html
index 2ebc53ab87e..85292e37412 100644
--- a/docs/Passes.html
+++ b/docs/Passes.html
@@ -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>