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

Duncan Sands baldrick at free.fr
Mon Mar 24 10:35:11 PDT 2008


Hi Devang,

> +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 a first 
> +class type. Function types are usually used to build virtual function tables

I suggest: "must be of first class types".  Because currently it sounds like
all elements must be of the same type, a first class type.

> +    <td class="left">A function taking an <tt>i32></tt>, returning two values
> +        <tt> i32 </tt> as an arggregate of type <tt>{ i32, i32 }</tt>

arggregate -> aggregate
Also, I suggest: "returning two <tt> i32 </tt> values" rather than
"returning two values <tt> i32 </tt>"

Ciao,

Duncan.



More information about the llvm-commits mailing list