From ac8d27686db34181ad21a74d2a95a6c9f63a735e Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 5 Jan 2007 00:59:10 +0000 Subject: [PATCH] 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 --- docs/LangRef.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 9f97a4685e9..5e030305b5e 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -495,8 +495,10 @@ variable is defined to be internal, if another module defined a ".LC0" variable and was linked with this one, one of the two would be renamed, preventing a collision. Since "main" and "puts" are external (i.e., lacking any linkage declarations), they are accessible -outside of the current module. It is illegal for a function declaration -to have any linkage type other than "externally visible".

+outside of the current module.

+

It is illegal for a function declaration +to have any linkage type other than "externally visible", dllimport, +or extern_weak.