summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-10-11 06:41:28 +0000
committerBill Wendling <isanbard@gmail.com>2011-10-11 06:41:28 +0000
commitf7f06103c25f9b4129e7833c8ce5b8c1b1747a6f (patch)
tree305fd775bf3b4161b9660d1c9675c569e7b1419d /docs
parent3478173e4a0f2a6bc93b102a2b113e0453fd01b3 (diff)
downloadllvm-f7f06103c25f9b4129e7833c8ce5b8c1b1747a6f.tar.gz
llvm-f7f06103c25f9b4129e7833c8ce5b8c1b1747a6f.tar.bz2
llvm-f7f06103c25f9b4129e7833c8ce5b8c1b1747a6f.tar.xz
Use the proper name for "externally visible" linkage -- 'external'. This is the
keyword in LLVM for externally visible linkage. PR10636 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index a28d92efa1..066f3a5073 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -35,7 +35,7 @@
<li><a href="#linkage_externweak">'<tt>extern_weak</tt>' Linkage</a></li>
<li><a href="#linkage_linkonce_odr">'<tt>linkonce_odr</tt>' Linkage</a></li>
<li><a href="#linkage_weak">'<tt>weak_odr</tt>' Linkage</a></li>
- <li><a href="#linkage_external">'<tt>externally visible</tt>' Linkage</a></li>
+ <li><a href="#linkage_external">'<tt>external</tt>' Linkage</a></li>
<li><a href="#linkage_dllimport">'<tt>dllimport</tt>' Linkage</a></li>
<li><a href="#linkage_dllexport">'<tt>dllexport</tt>' Linkage</a></li>
</ol>
@@ -647,7 +647,7 @@ define i32 @main() { <i>; i32()* </i>&nbsp;
be merged with equivalent globals. These linkage types are otherwise the
same as their non-<tt>odr</tt> versions.</dd>
- <dt><tt><b><a name="linkage_external">externally visible</a></b></tt>:</dt>
+ <dt><tt><b><a name="linkage_external">external</a></b></tt>:</dt>
<dd>If none of the above identifiers are used, the global is externally
visible, meaning that it participates in linkage and can be used to
resolve external symbol references.</dd>
@@ -680,8 +680,8 @@ define i32 @main() { <i>; i32()* </i>&nbsp;
declarations), they are accessible outside of the current module.</p>
<p>It is illegal for a function <i>declaration</i> to have any linkage type
- other than "externally visible", <tt>dllimport</tt>
- or <tt>extern_weak</tt>.</p>
+ other than <tt>external</tt>, <tt>dllimport</tt>
+ or <tt>extern_weak</tt>.</p>
<p>Aliases can have only <tt>external</tt>, <tt>internal</tt>, <tt>weak</tt>
or <tt>weak_odr</tt> linkages.</p>