Fix two typos in the doc
authorSylvestre Ledru <sylvestre@debian.org>
Wed, 25 Jul 2012 22:01:31 +0000 (22:01 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Wed, 25 Jul 2012 22:01:31 +0000 (22:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160762 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html
docs/Passes.html

index 04c1bf8b32f5f723096a63da6aeece8e44bf9156..4d0539241f75db51d2f6e7e7b1962fd01c2fb28d 100644 (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>
index 2ebc53ab87e67b48a01f333a2f2cccb08440d639..85292e37412247b8237fd565e5ddd57809af98c7 100644 (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>