diff --git a/clang/Analysis/GRConstants.cpp b/clang/Analysis/GRConstants.cpp index 82402559f23b..2173f9b671b2 100644 --- a/clang/Analysis/GRConstants.cpp +++ b/clang/Analysis/GRConstants.cpp @@ -134,7 +134,7 @@ public: ExprVariantTy operator-(const ExprVariantTy& X) const { if (!isConstant || !X.isConstant) return ExprVariantTy(); - else return ExprVariantTy(val+X.val); + else return ExprVariantTy(val-X.val); } }; } // end anonymous namespace