diff --git a/clang/include/clang/Analysis/PathSensitive/GRExprEngine.h b/clang/include/clang/Analysis/PathSensitive/GRExprEngine.h index a54b3d7ce57c..0102f55cfebf 100644 --- a/clang/include/clang/Analysis/PathSensitive/GRExprEngine.h +++ b/clang/include/clang/Analysis/PathSensitive/GRExprEngine.h @@ -550,9 +550,10 @@ protected: return R.isValid() ? getTF().EvalBinOp(*this, Op, L, cast(R)) : R; } - RVal EvalBinOp(BinaryOperator::Opcode Op, NonLVal L, NonLVal R) { - return R.isValid() ? getTF().EvalBinOp(*this, Op, L, R) : R; - } + void EvalBinOp(ExplodedNodeSet& Dst, Expr* E, + BinaryOperator::Opcode Op, NonLVal L, NonLVal R, + ExplodedNode* Pred); + RVal EvalBinOp(BinaryOperator::Opcode Op, RVal L, RVal R) { @@ -582,9 +583,6 @@ protected: return getTF().EvalBinOp(*this, Op, cast(L), cast(R)); } - void EvalBinOp(ExplodedNodeSet& Dst, Expr* E, - BinaryOperator::Opcode Op, - NonLVal L, NonLVal R, ExplodedNode* Pred); void EvalCall(NodeSet& Dst, CallExpr* CE, RVal L, NodeTy* Pred) { assert (Builder && "GRStmtNodeBuilder must be defined.");