Minor simplification; also silences gcc warning.
llvm-svn: 70406
This commit is contained in:
parent
d9b11b2ef4
commit
8b171f6516
|
@ -927,7 +927,7 @@ bool IntExprEvaluator::VisitBinaryOperator(const BinaryOperator *E) {
|
|||
bool Result;
|
||||
if (E->getOpcode() == BinaryOperator::EQ) {
|
||||
Result = LHSValue.getLValueOffset() == RHSValue.getLValueOffset();
|
||||
} else if (E->getOpcode() == BinaryOperator::NE) {
|
||||
} else {
|
||||
Result = LHSValue.getLValueOffset() != RHSValue.getLValueOffset();
|
||||
}
|
||||
return Success(Result, E);
|
||||
|
|
Loading…
Reference in New Issue