Regression fix: Handle binary operators where both the left and right

operands are symbolic lvalues.

llvm-svn: 47459
This commit is contained in:
Ted Kremenek 2008-02-21 22:08:33 +00:00
parent 5d8fa828f1
commit 6d2bbd9467
1 changed files with 1 additions and 5 deletions

View File

@ -358,11 +358,7 @@ public:
RVal EvalComplement(RVal X) {
return X.isValid() ? TF->EvalComplement(ValMgr, cast<NonLVal>(X)) : X;
}
RVal EvalBinOp(BinaryOperator::Opcode Op, LVal L, RVal R) {
return R.isValid() ? TF->EvalBinOp(ValMgr, Op, L, cast<NonLVal>(R)) : R;
}
RVal EvalBinOp(BinaryOperator::Opcode Op, NonLVal L, RVal R) {
return R.isValid() ? TF->EvalBinOp(ValMgr, Op, L, cast<NonLVal>(R)) : R;
}