From: Ted Kremenek Date: Tue, 29 Jan 2008 21:27:49 +0000 (+0000) Subject: Minor fix in transfer function of '!=' where a 'false' literal should X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03701674673842da801d0982c1777f9ef048f124;p=clang Minor fix in transfer function of '!=' where a 'false' literal should have been 'true'. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46530 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Analysis/GRConstants.cpp b/Analysis/GRConstants.cpp index 5ef4c0ba3c..e846aac451 100644 --- a/Analysis/GRConstants.cpp +++ b/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: