[cfe-commits] r137708 - /cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

Ted Kremenek kremenek at apple.com
Mon Aug 15 20:44:38 PDT 2011


Author: kremenek
Date: Mon Aug 15 22:44:38 2011
New Revision: 137708

URL: http://llvm.org/viewvc/llvm-project?rev=137708&view=rev
Log:
[analyzer] fix operation inversion calculation in ConditionVisitor.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp?rev=137708&r1=137707&r2=137708&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp Mon Aug 15 22:44:38 2011
@@ -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;
     }





More information about the cfe-commits mailing list