From: Ted Kremenek Date: Mon, 17 Mar 2008 22:18:22 +0000 (+0000) Subject: Fix assertion. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58cda6ff1cd0b613fb54d74bb126f30e757f0f0f;p=clang Fix assertion. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48470 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 08c7113cab..13d6b47394 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -329,7 +329,7 @@ void GRExprEngine::ProcessSwitch(SwitchNodeBuilder& builder) { break; ++V1; - assert (V1 < V2); + assert (V1 <= V2); } while (true); }