[llvm] r210490 - Update langref for unnamed_addr being allowed in aliases.

Rafael Espindola rafael.espindola at gmail.com
Mon Jun 9 14:21:33 PDT 2014


Author: rafael
Date: Mon Jun  9 16:21:33 2014
New Revision: 210490

URL: http://llvm.org/viewvc/llvm-project?rev=210490&view=rev
Log:
Update langref for unnamed_addr being allowed in aliases.

Thanks to Duncan P. N. Exon Smith and Owen Anderson for noticing.

Modified:
    llvm/trunk/docs/LangRef.rst

Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=210490&r1=210489&r2=210490&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Mon Jun  9 16:21:33 2014
@@ -588,7 +588,7 @@ Variables and aliasaes can have a
 Syntax::
 
     [@<GlobalVarName> =] [Linkage] [Visibility] [DLLStorageClass] [ThreadLocal]
-                         [AddrSpace] [unnamed_addr] [ExternallyInitialized]
+                         [unnamed_addr] [AddrSpace] [ExternallyInitialized]
                          <global | constant> <Type>
                          [, section "name"] [, align <Alignment>]
 
@@ -691,7 +691,7 @@ Aliases may have an optional :ref:`linka
 
 Syntax::
 
-    @<Name> = [Visibility] [DLLStorageClass] [ThreadLocal] alias [Linkage] <AliaseeTy> @<Aliasee>
+    @<Name> = [Visibility] [DLLStorageClass] [ThreadLocal] [unnamed_addr] alias [Linkage] <AliaseeTy> @<Aliasee>
 
 The linkage must be one of ``private``, ``internal``, ``linkonce``, ``weak``,
 ``linkonce_odr``, ``weak_odr``, ``external``. Note that some system linkers





More information about the llvm-commits mailing list