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

Chris Lattner clattner at apple.com
Fri Mar 21 10:26:23 PDT 2008


On Mar 10, 2008, at 1:49 PM, Devang Patel wrote:

> Author: dpatel
> Date: Mon Mar 10 15:49:15 2008
> New Revision: 48173
>
> URL: http://llvm.org/viewvc/llvm-project?rev=48173&view=rev
> Log:
> Document multiple return values.

Hi Devang,

I fixed several minor things.  Please expand the FunctionType section  
to talk about the constraints on multiple return types.  You just  
removed the 'The return type of a function type cannot be an aggregate  
type.' part, but didn't add anything to replace it!

In particular, it isn't valid to return arrays etc, and the elements  
of the struct all must be valid first-class values.  {{}} is not a  
valid return type.

-Chris



More information about the llvm-commits mailing list