mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
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
This commit is contained in:
parent
05a1416463
commit
ac8d27686d
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user