summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/GRExprEngine.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-03-17 22:18:22 +0000
committerTed Kremenek <kremenek@apple.com>2008-03-17 22:18:22 +0000
commita9b30c0651484e6dddc8a1d983ea7723595bcad4 (patch)
treefcfd7315d5528b0167c67ce98fa5ed792d023929 /clang/lib/Analysis/GRExprEngine.cpp
parent9eae403cde52bcc0e29af19d91382350acf73177 (diff)
downloadbcm5719-llvm-a9b30c0651484e6dddc8a1d983ea7723595bcad4.tar.gz
bcm5719-llvm-a9b30c0651484e6dddc8a1d983ea7723595bcad4.zip
Fix assertion.
llvm-svn: 48470
Diffstat (limited to 'clang/lib/Analysis/GRExprEngine.cpp')
-rw-r--r--clang/lib/Analysis/GRExprEngine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp
index 08c7113cab4..13d6b473947 100644
--- a/clang/lib/Analysis/GRExprEngine.cpp
+++ b/clang/lib/Analysis/GRExprEngine.cpp
@@ -329,7 +329,7 @@ void GRExprEngine::ProcessSwitch(SwitchNodeBuilder& builder) {
break;
++V1;
- assert (V1 < V2);
+ assert (V1 <= V2);
} while (true);
}
OpenPOWER on IntegriCloud