byval problem

Hi,

I’m testing a patch compiling against head using the c interface and
llc is complaining that the byval attribute doesn’t have a type.

A parameter used to have a type just by adding the attribute, now it doesn’t.

The lang ref seems to say the type is optional. This is confusing.
Is the type mandatory now? And how do I add it?

Any help would be appreciated.

Regards Peter

It’s become mandatory recently - I’m not sure if teh C API reflects or supports this - might be some missing functionality & some out of date documentation.