[cfe-commits] r47459 - /cfe/trunk/include/clang/Analysis/PathSensitive/GRExprEngine.h

Ted Kremenek kremenek at apple.com
Thu Feb 21 14:08:33 PST 2008


Author: kremenek
Date: Thu Feb 21 16:08:33 2008
New Revision: 47459

URL: http://llvm.org/viewvc/llvm-project?rev=47459&view=rev
Log:
Regression fix: Handle binary operators where both the left and right
operands are symbolic lvalues.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/GRExprEngine.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/GRExprEngine.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/GRExprEngine.h?rev=47459&r1=47458&r2=47459&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/GRExprEngine.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/GRExprEngine.h Thu Feb 21 16:08:33 2008
@@ -358,11 +358,7 @@
   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;
   }





More information about the cfe-commits mailing list