summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/Analysis/GRConstants.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Analysis/GRConstants.cpp b/clang/Analysis/GRConstants.cpp
index 5ef4c0ba3c8..e846aac4513 100644
--- a/clang/Analysis/GRConstants.cpp
+++ b/clang/Analysis/GRConstants.cpp
@@ -625,7 +625,7 @@ NonLValue LValue::EQ(ValueManager& ValMgr, const LValue& RHS) const {
NonLValue LValue::NE(ValueManager& ValMgr, const LValue& RHS) const {
if (getSubKind() != RHS.getSubKind())
- return NonLValue::GetIntTruthValue(ValMgr, false);
+ return NonLValue::GetIntTruthValue(ValMgr, true);
switch (getSubKind()) {
default:
OpenPOWER on IntegriCloud