Migrated transfer functions for binary operators for simple value tracking
from RValues to GRTransferFuncs/GRSimpleVals.

llvm-svn: 47131
diff --git a/clang/Analysis/GRTransferFuncs.cpp b/clang/Analysis/GRTransferFuncs.cpp
index 3716ed9..33663d6 100644
--- a/clang/Analysis/GRTransferFuncs.cpp
+++ b/clang/Analysis/GRTransferFuncs.cpp
@@ -39,3 +39,21 @@
   
   return X;
 }
+
+// Binary Operators (except assignments and comma).
+
+RValue GRTransferFuncs::EvalBinaryOp(ValueManager& ValMgr,
+                                     BinaryOperator::Opcode Op,
+                                     LValue LHS, LValue RHS) {
+  
+  switch (Op) {
+    default:
+      assert (false && "Not yet implemented.");
+      
+    case BinaryOperator::EQ:
+      return EvalEQ(ValMgr, LHS, RHS);
+      
+    case BinaryOperator::NE:
+      return EvalNE(ValMgr, LHS, RHS);
+  }
+}
\ No newline at end of file