diff options
| author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-08 23:28:07 +0000 |
|---|---|---|
| committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-08 23:28:07 +0000 |
| commit | ca143e73ea794ca8c07f994d3aed0d082c1a194d (patch) | |
| tree | 47fb4691d650bee95fb6a282ece73164a5480cce /clang/lib | |
| parent | 35dc9b65edab933134a9998aa04042e6aa42c9cc (diff) | |
| download | bcm5719-llvm-ca143e73ea794ca8c07f994d3aed0d082c1a194d.tar.gz bcm5719-llvm-ca143e73ea794ca8c07f994d3aed0d082c1a194d.zip | |
Fix PR4182.
llvm-svn: 71288
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Analysis/RegionStore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp index 7f103dfab25..017526cb83b 100644 --- a/clang/lib/Analysis/RegionStore.cpp +++ b/clang/lib/Analysis/RegionStore.cpp @@ -1063,10 +1063,10 @@ Store RegionStoreManager::RemoveDeadBindings(const GRState* state, Stmt* Loc, // Get the current set of subregions for SuperR. const SubRegionsTy* SRptr = SubRegMap.lookup(SuperR); - SubRegionsTy SR = SRptr ? *SRptr : SubRegF.GetEmptySet(); + SubRegionsTy SRs = SRptr ? *SRptr : SubRegF.GetEmptySet(); // Add R to the subregions of SuperR. - SubRegMap = SubRegMapF.Add(SubRegMap, SuperR, SubRegF.Add(SR, R)); + SubRegMap = SubRegMapF.Add(SubRegMap, SuperR, SubRegF.Add(SRs, R)); // Super region may be VarRegion or subregion of another VarRegion. Add it // to the work list. |

