diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2014-08-13 04:54:05 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2014-08-13 04:54:05 +0000 |
commit | 12a0c0b4b3b2377bf203e436ab0fdedf4502dd37 (patch) | |
tree | 4424e0511bd25394315d47a427080c56898e8f93 /docs | |
parent | 08cfa8c15551184fcfe79a5bdf4d242713ec747a (diff) |
Fix examples of "named metadata" (some of which isn't named).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215522 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst index 69816cc8141..bcf4f651829 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -169,8 +169,8 @@ symbol table entries. Here is an example of the "hello world" module: } ; Named metadata - !1 = metadata !{i32 42} - !foo = !{!1, null} + !0 = metadata !{i32 42, null, metadata !"string"} + !foo = !{!0} This example is made up of a :ref:`global variable <globalvars>` named "``.str``", an external declaration of the "``puts``" function, a |