]> granicus.if.org Git - clang/commitdiff
Regression fix: Handle binary operators where both the left and right
authorTed Kremenek <kremenek@apple.com>
Thu, 21 Feb 2008 22:08:33 +0000 (22:08 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 21 Feb 2008 22:08:33 +0000 (22:08 +0000)
operands are symbolic lvalues.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47459 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/GRExprEngine.h

index 8e66b9c327b1a41610e3cdb6026fc7a0acc754dd..7fa5297daa2a32473ea4903e182d2c2d38eb8a59 100644 (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;
   }