[cfe-dev] [PATCH RFC] add support to alloc_size attribute

Richard Smith richard at metafoo.co.uk
Wed Feb 22 16:56:39 PST 2012


I've not looked at the patch in any detail, but I see that it doesn't
affect the __builtin_object_size calculation. Do you intend to implement
that part of it too? The code implementing that is in
lib/AST/ExprConstant.cpp (search for TryEvaluateBuiltinObjectSize).

Future patches should be sent to cfe-commits@ for review, not cfe-dev at .


On Wed, Feb 22, 2012 at 4:30 PM, Xi Wang <xi.wang at gmail.com> wrote:

> Hi,
> Attached is a proposed patch that adds support to the alloc_size attribute.
> http://llvm.org/bugs/show_bug.cgi?id=10516
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120222/cf6a9fe7/attachment.html>

More information about the cfe-dev mailing list