diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-01-29 21:27:49 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-01-29 21:27:49 +0000 |
| commit | 71b49503d8f42f6312875e1c5975892d2e6311ad (patch) | |
| tree | 677a5270700eaa245f467c126628db9354627312 | |
| parent | 15ad4cf46b6875c1b0a2a89c6521c63b9f84fe12 (diff) | |
| download | bcm5719-llvm-71b49503d8f42f6312875e1c5975892d2e6311ad.tar.gz bcm5719-llvm-71b49503d8f42f6312875e1c5975892d2e6311ad.zip | |
Minor fix in transfer function of '!=' where a 'false' literal should
have been 'true'.
llvm-svn: 46530
| -rw-r--r-- | clang/Analysis/GRConstants.cpp | 2 |
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: |

