>>>> -      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

I see. I'll try to fix it, thanks!
Nuno 

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

Reply via email to