]> granicus.if.org Git - clang/commitdiff
Fix assertion.
authorTed Kremenek <kremenek@apple.com>
Mon, 17 Mar 2008 22:18:22 +0000 (22:18 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 17 Mar 2008 22:18:22 +0000 (22:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48470 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/GRExprEngine.cpp

index 08c7113cab42309d211eb4d6503316c27a1e7810..13d6b47394776aee81b96bffa41d17b31164d602 100644 (file)
@@ -329,7 +329,7 @@ void GRExprEngine::ProcessSwitch(SwitchNodeBuilder& builder) {
         break;
       
       ++V1;
-      assert (V1 < V2);
+      assert (V1 <= V2);
       
     } while (true);
   }