forked from OSchip/llvm-project
parent
ef1bbfc762
commit
bea11173f5
|
@ -1418,8 +1418,8 @@ and smaller aggregate constants.</p>
|
||||||
|
|
||||||
<dd>Structure constants are represented with notation similar to structure
|
<dd>Structure constants are represented with notation similar to structure
|
||||||
type definitions (a comma separated list of elements, surrounded by braces
|
type definitions (a comma separated list of elements, surrounded by braces
|
||||||
(<tt>{}</tt>)). For example: "<tt>{ i32 4, float 17.0, i32* %G }</tt>",
|
(<tt>{}</tt>)). For example: "<tt>{ i32 4, float 17.0, i32* @G }</tt>",
|
||||||
where "<tt>%G</tt>" is declared as "<tt>@G = external global i32</tt>". Structure constants
|
where "<tt>@G</tt>" is declared as "<tt>@G = external global i32</tt>". Structure constants
|
||||||
must have <a href="#t_struct">structure type</a>, and the number and
|
must have <a href="#t_struct">structure type</a>, and the number and
|
||||||
types of elements must match those specified by the type.
|
types of elements must match those specified by the type.
|
||||||
</dd>
|
</dd>
|
||||||
|
|
Loading…
Reference in New Issue