aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-08-16 03:44:38 +0000
committerTed Kremenek <kremenek@apple.com>2011-08-16 03:44:38 +0000
commit4ee7c9cedc015bc161fa290aa558356b9bcf1bfa (patch)
treef9b089e77c8fb88dab4d08dd52157fe5650e0a30 /lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
parent681bc114b51c1198cdec9a165c7d3230abb8f427 (diff)
[analyzer] fix operation inversion calculation in ConditionVisitor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/BugReporterVisitors.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/BugReporterVisitors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp b/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
index e13d9c9a0a..52be150106 100644
--- a/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
+++ b/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
@@ -676,7 +676,7 @@ ConditionVisitor::VisitTrueTest(const Expr *Cond,
case BO_LT: Op = BO_GE; break;
case BO_GT: Op = BO_LE; break;
case BO_LE: Op = BO_GT; break;
- case BO_GE: Op = BO_GE; break;
+ case BO_GE: Op = BO_LT; break;
default:
return 0;
}