[llvm-commits] [llvm] r48740 - /llvm/trunk/docs/LangRef.html

Devang Patel dpatel at apple.com
Mon Mar 24 13:52:43 PDT 2008


Author: dpatel
Date: Mon Mar 24 15:52:42 2008
New Revision: 48740

URL: http://llvm.org/viewvc/llvm-project?rev=48740&view=rev
Log:
void type is also a valid function return type.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=48740&r1=48739&r2=48740&view=diff

==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Mon Mar 24 15:52:42 2008
@@ -1226,8 +1226,8 @@
 <h5>Overview:</h5>
 <p>The function type can be thought of as a function signature.  It
 consists of a return type and a list of formal parameter types. The
-return type of a function type is a scalar type or a struct type. If the 
-return type is a struct type then all struct elements must be of first 
+return type of a function type is a scalar type or a void type or a struct type. 
+If the return type is a struct type then all struct elements must be of first 
 class types. Function types are usually used to build virtual function tables
 (which are structures of pointers to functions), for indirect function
 calls, and when defining a function.</p>





More information about the llvm-commits mailing list