summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-05 00:59:10 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-05 00:59:10 +0000
commitac8d27686db34181ad21a74d2a95a6c9f63a735e (patch)
treefd55eec2efd1fc9e945bd5be577c9d1a29df3061 /docs
parent05a141646317097a8cdb0bd51ad66ca12a7602f1 (diff)
downloadllvm-ac8d27686db34181ad21a74d2a95a6c9f63a735e.tar.gz
llvm-ac8d27686db34181ad21a74d2a95a6c9f63a735e.tar.bz2
llvm-ac8d27686db34181ad21a74d2a95a6c9f63a735e.tar.xz
Correct the documentation for function declarations. They can have dllimport
or extern_weak linkage as well as "externally visible". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 9f97a4685e..5e030305b5 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -495,8 +495,10 @@ variable is defined to be internal, if another module defined a "<tt>.LC0</tt>"
variable and was linked with this one, one of the two would be renamed,
preventing a collision. Since "<tt>main</tt>" and "<tt>puts</tt>" are
external (i.e., lacking any linkage declarations), they are accessible
-outside of the current module. It is illegal for a function <i>declaration</i>
-to have any linkage type other than "externally visible".</a></p>
+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>.</a></p>
</div>