commit | 4ee7c9cedc015bc161fa290aa558356b9bcf1bfa | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Aug 16 03:44:38 2011 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Aug 16 03:44:38 2011 +0000 |
tree | f9b089e77c8fb88dab4d08dd52157fe5650e0a30 | |
parent | 681bc114b51c1198cdec9a165c7d3230abb8f427 [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
diff --git a/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp b/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp index e13d9c9..52be150 100644 --- a/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp +++ b/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
@@ -676,7 +676,7 @@ 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; }