On Mon, Feb 2, 2009 at 3:01 PM, Nuno Lopes <nunoplo...@sapo.pt> wrote:
>>> -      if (!Base)
>>> -        return CheckAddressConstantExpression(SubExpr);
>>> +      return Base ? false : CheckAddressConstantExpression(SubExpr);
>>>    }
>>
>> If you're going to add an ugly hack, please add a FIXME as well.
>
> pardon my ignorance, but why is that such a horrible hack? As far as I can
> tell it makes sense..

Because it allows stuff like the following?

int* f();
int a = (unsigned)f();

-Eli
_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to