From c4b49eb9857968d987aa853da02b45656c2a5bb1 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 23 May 2008 21:53:15 +0000 Subject: [PATCH] Update the description of first-class types to reflect that structs and arrays are now first-class. And fix a sentance fragment in the insertvalue description. Thanks to Chris for pointing these out! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51506 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 59d6581ce21..0fcc26313ef 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -1066,8 +1066,7 @@ classifications:

The first class types are perhaps the most important. Values of these types are the only ones which can be produced by instructions, passed as arguments, or used as operands to -instructions. This means that all structures and arrays must be -manipulated either by pointer or by component.

+instructions.

@@ -2956,7 +2955,7 @@ into a struct field or array element in an aggregate. The first operand of an 'insertvalue' instruction is a value of struct or array type. The second operand is a first-class value to insert. -type of the first operand. The following operands are constant indices +The following operands are constant indices indicating the position at which to insert the value in the same manner as indices in a 'getelementptr' instruction. -- 2.34.1