[cfe-dev] Help with APValue comparisons
Andy Gibbs
andyg1001 at hotmail.co.uk
Fri Jun 15 11:27:42 PDT 2012
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?
Thanks,
Andy
More information about the cfe-dev
mailing list