[cfe-commits] r46530 - /cfe/trunk/Analysis/GRConstants.cpp
Ted Kremenek
kremenek at apple.com
Tue Jan 29 13:27:50 PST 2008
Author: kremenek
Date: Tue Jan 29 15:27:49 2008
New Revision: 46530
URL: http://llvm.org/viewvc/llvm-project?rev=46530&view=rev
Log:
Minor fix in transfer function of '!=' where a 'false' literal should
have been 'true'.
Modified:
cfe/trunk/Analysis/GRConstants.cpp
Modified: cfe/trunk/Analysis/GRConstants.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Analysis/GRConstants.cpp?rev=46530&r1=46529&r2=46530&view=diff
==============================================================================
--- cfe/trunk/Analysis/GRConstants.cpp (original)
+++ cfe/trunk/Analysis/GRConstants.cpp Tue Jan 29 15:27:49 2008
@@ -625,7 +625,7 @@
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:
More information about the cfe-commits
mailing list