[LLVMdev] parameter attributes and function types

Chris Lattner clattner at apple.com
Mon Mar 1 22:37:12 PST 2010


On Mar 1, 2010, at 10:12 PM, james woodyatt wrote:

> 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.

Applied in r97557, thanks!





More information about the llvm-dev mailing list