[cfe-dev] EvaluateAsLValue and non global storage

Eli Friedman eli.friedman at gmail.com
Mon Aug 31 23:43:09 PDT 2009


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



More information about the cfe-dev mailing list