[cfe-commits] [PATCH] Expressions have lvalues and rvalues
Chris Lattner
clattner at apple.com
Sat Oct 11 10:27:38 PDT 2008
On Oct 11, 2008, at 9:25 AM, Sebastian Redl wrote:
>> An expression's lvalue evaluates (through our interpretation) into
>> a LVal.
>> An expression's rvalue evaluates (through our interpretation) into a
>> NonLVal (e.g. 2*x+3), or a LVal (e.g. &x).
>>
>
> So how about calling them Address and NonAddress? This would get rid
> of
> the dangerous similarity between LVal and LValue.
Bitfields and vector elements can't have their address taken.
-Chris
More information about the cfe-commits
mailing list