[LLVMdev] parameter attributes and function types
james woodyatt
jhw at conjury.org
Mon Mar 1 22:12:33 PST 2010
On Mar 1, 2010, at 20:28, Eli Friedman wrote:
> On Mon, Mar 1, 2010 at 8:20 PM, james woodyatt <jhw at conjury.org> wrote:
>> I'm sorry to pester about this, but I was really hoping somebody could straighten me out about this. The Language Reference really does seem to be ambiguous about this, and I'm willing to compose a patch to fix it, but I need to know what the document should actually say to match the code. [...]
>
> Attributes, including signext, are not part of the type.
> [...]
> Attributes can be attached to function declarations and to calls. For
> attributes like signext, the attribute needs to be attached to both to
> work properly.
Okay then. Here's a patch to trunk/docs/LangRef.html (revision 97549) that should help keep the next poor sod from getting confused.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm.patch
Type: application/octet-stream
Size: 2907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100301/5c03c44a/attachment.obj>
-------------- next part --------------
—
j h woodyatt <jhw at conjury.org>
http://jhw.vox.com/
More information about the llvm-dev
mailing list