[cfe-dev] EvaluateAsLValue and non global storage

Enea Zaffanella zaffanella at cs.unipr.it
Fri Sep 11 00:15:27 PDT 2009


Eli Friedman wrote:
> On Sun, Aug 30, 2009 at 3:29 AM, Abramo Bagnara<abramobagnara at tin.it> wrote:
>> Eli Friedman ha scritto:
>>> On Sat, Aug 29, 2009 at 8:08 AM, Enea Zaffanella<zaffanella at cs.unipr.it> wrote:
>>>> Hello.
>>>>
>>>> Please find attached a patch to change method Expr::Evaluate() so that it
>>>> can return an lvalue representation (Base, Offset) even for stack-based
>>>> objects.
>>> Please don't... I would strongly prefer to add a separate method.
>> I've attached a revised patch following your advices. I've also
>> attempted to improve the documentation of EvaluateAsLValue method.
> 
> Looks fine.
> 
> -Eli

Hi.

As far as I can see, the patch hasn't been applied.
I am attaching the same thing, but computed against r81509.
Please let us know if/when this will be applied.

Cheers,
Enea Zaffanella.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: AnyLValue-r81509.patch
Type: text/x-patch
Size: 2812 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090911/e548b6cc/attachment.bin>


More information about the cfe-dev mailing list