summaryrefslogtreecommitdiff
path: root/docs/LangRef.html
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-03-24 18:10:52 +0000
committerDevang Patel <dpatel@apple.com>2008-03-24 18:10:52 +0000
commit3a5bff8d04dd028cf3e0bbd3c28069c03a501f5a (patch)
tree77b8dbca2433fcd672a12e298796fb4146252faa /docs/LangRef.html
parentfb0f58302aaab5a7e3071702c950144feee936ea (diff)
downloadllvm-3a5bff8d04dd028cf3e0bbd3c28069c03a501f5a.tar.gz
llvm-3a5bff8d04dd028cf3e0bbd3c28069c03a501f5a.tar.bz2
llvm-3a5bff8d04dd028cf3e0bbd3c28069c03a501f5a.tar.xz
Fix typo. Clarify underlying message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r--docs/LangRef.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 8122d4356c..e44edf421f 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -1227,8 +1227,8 @@ type "{ i32, [0 x float]}", for example.</p>
<p>The function type can be thought of as a function signature. It
consists of a return type and a list of formal parameter types. The
return type of a function type is a scalar type or a struct type. If the
-return type is a struct type then all struct elements must be of a first
-class type. Function types are usually used to build virtual function tables
+return type is a struct type then all struct elements must be of first
+class types. Function types are usually used to build virtual function tables
(which are structures of pointers to functions), for indirect function
calls, and when defining a function.</p>
@@ -1264,8 +1264,8 @@ Variable argument functions can access their arguments with the <a
</td>
</tr><tr class="layout">
<td class="left"><tt>{i32, i32} (i32)</tt></td>
- <td class="left">A function taking an <tt>i32></tt>, returning two values
- <tt> i32 </tt> as an arggregate of type <tt>{ i32, i32 }</tt>
+ <td class="left">A function taking an <tt>i32></tt>, returning two
+ <tt> i32 </tt> values as an aggregate of type <tt>{ i32, i32 }</tt>
</td>
</tr>
</table>