diff options
| author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-06 02:54:11 +0000 |
|---|---|---|
| committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-05-06 02:54:11 +0000 |
| commit | b2d4a52e3f94c3b7d5d13e5e6087ae7807a4e79c (patch) | |
| tree | 1620257b28f084e0ce9bea97bdfb50f6f5227300 /clang/lib/Analysis/RegionStore.cpp | |
| parent | 2080787636407e87b93aae027c12c9166afe8417 (diff) | |
| download | bcm5719-llvm-b2d4a52e3f94c3b7d5d13e5e6087ae7807a4e79c.tar.gz bcm5719-llvm-b2d4a52e3f94c3b7d5d13e5e6087ae7807a4e79c.zip | |
remove commented code.
llvm-svn: 71060
Diffstat (limited to 'clang/lib/Analysis/RegionStore.cpp')
| -rw-r--r-- | clang/lib/Analysis/RegionStore.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp index 2ece31ed4c4..145559e8b81 100644 --- a/clang/lib/Analysis/RegionStore.cpp +++ b/clang/lib/Analysis/RegionStore.cpp @@ -639,14 +639,6 @@ RegionStoreManager::CastRegion(const GRState* state, const MemRegion* R, || isa<ObjCIvarRegion>(R) || isa<CompoundLiteralRegion>(R)) { // FIXME: create an ElementRegion when the size of the pointee type is // smaller than the region. - //unsigned PointeeSize = getSizeInBits(PointeeTy); - //unsigned RegionSize = getSizeInBits(R); -// if (PointeeSize < RegionSize) { -// SVal Idx = ValMgr.makeZeroArrayIndex(); -// ElementRegion* ER = MRMgr.getElementRegion(Pointee, Idx, R); -// return CastResult(state, ER); -// } -// else return CastResult(state, R); } |

