[cfe-dev] EvaluateAsLValue and non global storage

Abramo Bagnara abramobagnara at tin.it
Sun Aug 30 03:29:11 PDT 2009


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.

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


More information about the cfe-dev mailing list