[cfe-dev] Help with APValue comparisons
eli.friedman at gmail.com
Fri Jun 15 11:44:01 PDT 2012
On Fri, Jun 15, 2012 at 11:27 AM, Andy Gibbs <andyg1001 at hotmail.co.uk> wrote:
> On Friday, June 15, 2012 8:18 PM, Eli Friedman wrote:
>> We already have some code for comparing pointers in ExprConstant.cpp
>> (I think in IntExprEvaluator::visitBinaryOperator?); please take a
>> look at that.
> Thanks, I'll have a look there.
>> The most obvious issue here is that the code doesn't seem to allow for
>> the possibility that we can't tell whether two LValues are equal.
> I'm sorry, I don't quite understand what you mean. Do you mean,
> the code can't tell whether two independent LValues have equal
> values, as opposed to being able to tell that two LValues structures
> hold identical data?
Yes, I mean code can't tell whether two independent LValues have equal values.
More information about the cfe-dev