[cfe-dev] vector function return type
John McCall
rjmccall at apple.com
Fri Dec 4 13:32:53 PST 2009
On Dec 4, 2009, at 8:36 AM, John Thompson wrote:
> Here's another go at it (fix for bug 5650). It looks like the code was already in place for handling attributes for types before the declaration was finalized. I basically just hacked up HandleVectorSizeAttr and moved it to be called from ProcessTypeAttributeList instead of ProcessDeclAttribute.
>
> I also revised PrintVector in the type printer to put the vector_size attribute first, and revised the test in Sema/vector-init.c.
>
> Is anything else needed for this?
Looks good to me! Feel free to commit whenever you're ready.
Please reference the PR number in the test case (and your commit message).
John.
More information about the cfe-dev
mailing list