[cfe-commits] PATCH: Inline storage of attributes in AttributedStmt

Alexander Kornienko alexfh at google.com
Mon Jul 9 03:06:11 PDT 2012


On Mon, Jul 9, 2012 at 6:24 AM, Richard Smith <richard at metafoo.co.uk> wrote:

> A couple of things:
> * AttributedStmt::CreateEmpty isn't allocating enough space for the Attr*s.
>
Oops, my bad. Fixed.


> * Please capitalize the parameters to the AttributedStmt member functions.
>
Done.


> LGTM with those fixed.

Thanks for the review, committed as rev. 159925.


>
>
> On Fri, Jul 6, 2012 at 3:24 AM, Alexander Kornienko <alexfh at google.com>wrote:
>
>> Did anyone have time to look at this?
>>
>>
>> On Thu, Jul 5, 2012 at 9:42 PM, Alexander Kornienko <alexfh at google.com>wrote:
>>
>>> Hi,
>>>
>>> This patch changes AttrVec to inline storage of attributes in
>>> AttributedStmt. I also had to add a template parameter for container type
>>> to specific_attr_iterator to make it handle ArrayRef along with AttrVec.
>>> Updated serialization code, but there's still no good way to test it.
>>>
>>> Please take a look at this patch.
>>>
>>> --
>>> Regards,
>>> Alexander Kornienko
>>>
>>
>>
>
-- 
Regards,
Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120709/760cda01/attachment.html>


More information about the cfe-commits mailing list