diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/docs/LangRef.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index bec79f3711d..c877651225c 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -1418,8 +1418,8 @@ and smaller aggregate constants.</p> <dd>Structure constants are represented with notation similar to structure type definitions (a comma separated list of elements, surrounded by braces - (<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 + (<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 must have <a href="#t_struct">structure type</a>, and the number and types of elements must match those specified by the type. </dd> |