From a0de40aa6c3071dbe5f4c4d4e6d9adcf4e6d2787 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Wed, 13 Aug 2014 04:54:05 +0000 Subject: [PATCH] Fix examples of "named metadata" (some of which isn't named). llvm-svn: 215522 --- llvm/docs/LangRef.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 69816cc81411..bcf4f6518292 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/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 ` named "``.str``", an external declaration of the "``puts``" function, a