diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-09-22 21:19:14 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-09-22 21:19:14 +0000 |
commit | cf54959eae25fb3050f41833f0eab91042fb1269 (patch) | |
tree | af4c0ebbde3ecd9892d8350ea3f401418c839277 /lib/Analysis/GRExprEngine.cpp | |
parent | b657f115c3b4e262e72906a28cbcf3eaccd9460c (diff) |
Fix: <rdar://problem/7242006> [RegionStore] compound literal assignment with floats not honored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/GRExprEngine.cpp')
-rw-r--r-- | lib/Analysis/GRExprEngine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 3e9ed5b7f3..a6c3c66a0a 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -2263,6 +2263,7 @@ void GRExprEngine::VisitInitListExpr(InitListExpr* E, ExplodedNode* Pred, WorkList.reserve(NumInitElements); WorkList.push_back(InitListWLItem(Pred, StartVals, E->rbegin())); InitListExpr::reverse_iterator ItrEnd = E->rend(); + assert(!(E->rbegin() == E->rend())); // Process the worklist until it is empty. while (!WorkList.empty()) { |