[llvm-commits] CVS: llvm/docs/LangRef.html

Reid Spencer reid at x10sys.com
Thu Jan 4 16:59:25 PST 2007



Changes in directory llvm/docs:

LangRef.html updated: 1.186 -> 1.187
---
Log message:

Correct the documentation for function declarations. They can have dllimport
or extern_weak linkage as well as "externally visible".


---
Diffs of the changes:  (+5 -3)

 LangRef.html |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)


Index: llvm/docs/LangRef.html
diff -u llvm/docs/LangRef.html:1.186 llvm/docs/LangRef.html:1.187
--- llvm/docs/LangRef.html:1.186	Thu Jan  4 10:43:23 2007
+++ llvm/docs/LangRef.html	Thu Jan  4 18:59:10 2007
@@ -495,8 +495,10 @@
 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>
 
@@ -4501,7 +4503,7 @@
 
   <a href="mailto:sabre at nondot.org">Chris Lattner</a><br>
   <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
-  Last modified: $Date: 2007/01/04 16:43:23 $
+  Last modified: $Date: 2007/01/05 00:59:10 $
 </address>
 </body>
 </html>






More information about the llvm-commits mailing list